feat: allow drag when in an app

This commit is contained in:
Lin Onetwo authored and DarkSky committed 2022-12-22 11:11:35 +08:00
1 parent 3c582b03d7
commit 3a13f3e9a2
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ const Affine = () => {
const [show, setShow] = useState(false); const [show, setShow] = useState(false);
return ( return (
<> <>
<StyledHeader> <StyledHeader data-tauri-drag-region={window.CLIENT_APP}>
<ThemeModeSwitch></ThemeModeSwitch> <ThemeModeSwitch></ThemeModeSwitch>
<button <button
onClick={() => { onClick={() => {