-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent root widgets from drawing/undrawing during __init__()
When I made `__group` a private variable (#7927c9a), I had to modify the `Root` constructor to call `_regroup()` instead of directly setting `self._group` (#55c42ff). However, this inadvertantly broke `PanningGui`, because it resulting in `do_draw()` and `do_undraw()` being called before the object was fully initialized. Fixes #46.
- Loading branch information
1 parent
d7ad302
commit 5165b50
Showing
2 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters