feat: allow drag when in an app

This commit is contained in:
Lin Onetwo 2022-12-19 22:44:34 +08:00 committed by DarkSky
parent 3c582b03d7
commit 3a13f3e9a2

View File

@ -16,7 +16,7 @@ const Affine = () => {
const [show, setShow] = useState(false);
return (
<>
<StyledHeader>
<StyledHeader data-tauri-drag-region={window.CLIENT_APP}>
<ThemeModeSwitch></ThemeModeSwitch>
<button
onClick={() => {