Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure single friend widget is added #19

Merged
merged 2 commits into from
Jun 16, 2022

Conversation

anthonybaldwin
Copy link
Contributor

Went overkill and deleted branch after realizing my mistake, which closed the PR (sorry): #18

Also going w/ a fresh PR to be safe.


RE: #17 (comment)

Issue- i is 0 on first friend, which sets j to 0 (j = i % 4)
Therefore layout.addWidget(overlay) is not called:

        if j > 0:
            layout.addWidget(overlay)

Fix? Simply allowing 0 seems to be fine

        if j >= 0:
            layout.addWidget(overlay)

@MCMi460 MCMi460 merged commit 5f4d164 into MCMi460:development Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants