feat: change window style

This commit is contained in:
GyDi committed 2022-02-20 23:46:13 +08:00
1 parent 3b54eeb1c5
commit 489ae6c9b6
5 files changed
+51 -24

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ const LayoutTraffic = () => {
};
return (
<Box data-windrag width="110px" position="relative" onClick={toggleStyle}>
<Box width="110px" position="relative" onClick={toggleStyle}>
{trafficGraph && (
<canvas
ref={canvasRef}
+2 -2
View File
@@ -39,8 +39,8 @@ const SettingVerge = ({ onError }: Props) => {
onCatch={onError}
onFormat={onSwitchFormat}
onChange={(e) => onChangeData({ theme_mode: e ? "dark" : "light" })}
onGuard={(c) =>
patchVergeConfig({ theme_mode: c ? "dark" : "light" })
onGuard={(e) =>
patchVergeConfig({ theme_mode: e ? "dark" : "light" })
}
>
<PaletteSwitch edge="end" />