fix: Try to fix touch drag

#456
This commit is contained in:
MystiPanda
2024-03-11 12:36:20 +08:00
parent 35dabaab9c
commit 18fdc5c6a2
4 changed files with 14 additions and 16 deletions

View File

@@ -20,10 +20,10 @@ export const BasePage: React.FC<Props> = (props) => {
return (
<BaseErrorBoundary>
<div className="base-page">
<header data-windrag style={{ userSelect: "none" }}>
<header data-tauri-drag-region="true" style={{ userSelect: "none" }}>
<Typography
sx={{ fontSize: "20px", fontWeight: "700 " }}
data-windrag
data-tauri-drag-region="true"
>
{title}
</Typography>