mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 03:49:56 +08:00
feat: allow header to be dragged in client
This commit is contained in:
@@ -109,7 +109,7 @@ export const Header = () => {
|
|||||||
}
|
}
|
||||||
}, [editor]);
|
}, [editor]);
|
||||||
return (
|
return (
|
||||||
<StyledHeaderContainer hasWarning={showWarning}>
|
<StyledHeaderContainer hasWarning={showWarning} data-tauri-drag-region>
|
||||||
<BrowserWarning
|
<BrowserWarning
|
||||||
onClose={() => {
|
onClose={() => {
|
||||||
setShowWarning(false);
|
setShowWarning(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user