feat: allow header to be dragged in client

This commit is contained in:
Lin Onetwo
2022-12-19 16:43:53 +08:00
committed by DarkSky
parent 4acf6c99a7
commit 0240feb7f1

View File

@@ -109,7 +109,7 @@ export const Header = () => {
}
}, [editor]);
return (
<StyledHeaderContainer hasWarning={showWarning}>
<StyledHeaderContainer hasWarning={showWarning} data-tauri-drag-region>
<BrowserWarning
onClose={() => {
setShowWarning(false);