fix Outside-click handler attached to full-viewport wrapper.

This commit is contained in:
Long
2026-04-11 01:56:52 +07:00
parent d537a0a5e5
commit 49eac03e95
2 changed files with 11 additions and 4 deletions
+10 -3
View File
@@ -8,7 +8,8 @@
"formatWithErrors": true,
"lineEnding": "lf",
"lineWidth": 100,
"attributePosition": "auto"
"attributePosition": "auto",
"indentWidth": 4
},
"linter": {
"enabled": true,
@@ -92,7 +93,14 @@
"useGetterReturn": "error"
}
},
"includes": ["**", "**/dist", "**/.eslintrc.cjs", "**", "**/dist", "**/.eslintrc.cjs"]
"includes": [
"**",
"**/dist",
"**/.eslintrc.cjs",
"**",
"**/dist",
"**/.eslintrc.cjs"
]
},
"javascript": { "formatter": { "quoteStyle": "double" } },
"overrides": [
@@ -162,4 +170,3 @@
"actions": { "source": { "organizeImports": "on" } }
}
}
+1 -1
View File
@@ -1181,7 +1181,6 @@ export function LaunchWindow() {
<div
className="w-full flex items-end justify-center bg-transparent overflow-visible pb-5"
style={{ height: "100vh" }}
ref={dropdownRef}
>
<div
ref={hudContentRef}
@@ -1202,6 +1201,7 @@ export function LaunchWindow() {
{/* Only the visible HUD content should become interactive. */}
<div
className={styles.menuArea}
ref={dropdownRef}
style={{
transform: `translate(${recordingHudOffset.x}px, ${recordingHudOffset.y}px)`,
}}