-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slightly optimize the iterator-based method for finding popovers
As we already bounds-check the widgets in our map iterator, we have access to the associated popover. Instead of returning the parent widget and then doing another lookup, we just return the popover we already know to be valid. Signed-off-by: Ikey Doherty <[email protected]>
- Loading branch information
1 parent
6282f35
commit 2cb23f7
Showing
1 changed file
with
16 additions
and
16 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