修复 macOS 下主窗口拖拽区域失效问题

This commit is contained in:
JSR
2026-03-18 18:17:32 +08:00
parent 5f1ba06304
commit f75e00f45e
2 changed files with 11 additions and 1 deletions
+10 -1
View File
@@ -111,7 +111,16 @@ export function ContentArea({
} as React.CSSProperties
}
>
<div style={{ flex: 1 }} />
<div
data-tauri-drag-region
style={
{
flex: 1,
height: "100%",
WebkitAppRegion: "drag",
} as React.CSSProperties
}
/>
<div
style={
{