feat: allow header to be dragged in client

This commit is contained in:
Lin Onetwo authored and DarkSky committed 2022-12-22 11:11:35 +08:00
1 parent 4acf6c99a7
commit 0240feb7f1
1 file changed
+1 -1
+1 -1
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);