diff options
Diffstat (limited to 'subprojects/frontend/src/TopBar.tsx')
-rw-r--r-- | subprojects/frontend/src/TopBar.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/frontend/src/TopBar.tsx b/subprojects/frontend/src/TopBar.tsx index c943f7c4..0f757986 100644 --- a/subprojects/frontend/src/TopBar.tsx +++ b/subprojects/frontend/src/TopBar.tsx | |||
@@ -36,6 +36,7 @@ function useWindowControlsOverlayVisible(): boolean { | |||
36 | 'geometrychange', | 36 | 'geometrychange', |
37 | updateWindowControlsOverlayVisible, | 37 | updateWindowControlsOverlayVisible, |
38 | ); | 38 | ); |
39 | updateWindowControlsOverlayVisible.cancel(); | ||
39 | }; | 40 | }; |
40 | } | 41 | } |
41 | // Nothing to clean up if `windowControlsOverlay` is unsupported. | 42 | // Nothing to clean up if `windowControlsOverlay` is unsupported. |