Skip to content

Commit

Permalink
Add explanatory note about implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed May 1, 2023
1 parent 273f333 commit 14e5369
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions winforms/src/toga_winforms/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ def __init__(self, interface):
# window-level close handling.
self._is_exiting = False

# Winforms cursor visibility is a stack; If you call hide N times, you
# need to call Show N times to make the cursor re-appear. Store a local
# boolean to allow us to avoid building a deep stack.
self._cursor_visible = True

self.loop = WinformsProactorEventLoop()
Expand Down

0 comments on commit 14e5369

Please sign in to comment.