-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix Linux Wayland HUD oscillation on hover and popover menu clipping #876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
23afa4c
fd53b7d
84aca58
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -109,6 +109,7 @@ function LaunchWindowContent() { | |
|
|
||
| const { | ||
| hudOverlayMousePassthroughSupported, | ||
| hudOverlayResizeAnchor, | ||
| platform, | ||
| appVersion, | ||
| hideHudFromCapture, | ||
|
|
@@ -446,8 +447,12 @@ function LaunchWindowContent() { | |
| value={{ onMouseEnter: handleHudMouseEnter, onMouseLeave: handleHudMouseLeave }} | ||
| > | ||
| <div | ||
| className="w-full flex justify-center bg-transparent overflow-visible items-end pb-5 pointer-events-none" | ||
| style={{ height: "100vh" }} | ||
| className="w-full flex justify-center bg-transparent overflow-visible items-end pointer-events-none" | ||
| style={{ | ||
| height: "100vh", | ||
| paddingBottom: | ||
| hudOverlayResizeAnchor === "center" ? "calc(50vh - 60px)" : "1.25rem", | ||
| }} | ||
|
Comment on lines
+464
to
+470
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in latest commit: derived |
||
| > | ||
| <div | ||
| ref={hudContentRef} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,7 @@ export function useLaunchHudInteractionState({ | |
| const timeoutRef = useRef<NodeJS.Timeout | null>(null); | ||
|
|
||
| useEffect(() => { | ||
| window.electronAPI?.hudOverlaySetMenuOpen?.(openId !== null); | ||
| if (openId !== null) { | ||
| if (timeoutRef.current) clearTimeout(timeoutRef.current); | ||
| window.electronAPI?.hudOverlaySetIgnoreMouse?.(false); | ||
|
Comment on lines
23
to
32
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in latest commit: tracked |
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.