Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stacked Widget: some fixes and cleanup to select_layer
First off, this reverts the change from a9ba9a9. A detailed explanation has been added to the class member documentation. Secondly, this removes calls to set_visible. The generator should handle this internally. It seems the previous code rendered manual calls necessary. This is no longer the case. Lastly, this fixes an issue where selecting all layers (-1) did not always result in the top-most layer receiving events. It appears by some quirk of the generator system, only the last "selected" layer receives events, even if multiple are visible, *not* simply the top-most one in the stack.
- Loading branch information
Showing
2 changed files
with
40 additions
and
26 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