chore: fix some issues on windows

This commit is contained in:
reya 2024-01-20 10:15:27 +07:00
parent 9fcdac4edb
commit e0250d7f5c
5 changed files with 6 additions and 9 deletions

View File

@ -72,7 +72,7 @@ export function ColumnHeader({
Refresh Refresh
</button> </button>
</DropdownMenu.Item> </DropdownMenu.Item>
{queryKey[0] === "foryou-9998" ? ( {queryKey?.[0] === "foryou-9998" ? (
<DropdownMenu.Item asChild> <DropdownMenu.Item asChild>
<InterestModal queryKey={queryKey} /> <InterestModal queryKey={queryKey} />
</DropdownMenu.Item> </DropdownMenu.Item>

View File

@ -326,7 +326,7 @@ export function ReplyForm({
setTarget(null); setTarget(null);
}} }}
> >
<div className="h-full overflow-y-auto p-3 bg-neutral-100 dark:bg-neutral-900 rounded-xl"> <div className="overflow-y-auto p-3 bg-neutral-100 dark:bg-neutral-900 rounded-xl">
<Editable <Editable
key={JSON.stringify(editorValue)} key={JSON.stringify(editorValue)}
autoFocus={false} autoFocus={false}

View File

@ -10,7 +10,7 @@ export function AppLayout({ platform }: { platform: Platform }) {
<div <div
className={cn( className={cn(
"flex h-screen w-screen flex-col", "flex h-screen w-screen flex-col",
platform !== "macos" ? "bg-blue-50 dark:bg-blue-950" : "", platform !== "macos" ? "bg-neutral-50 dark:bg-neutral-950" : "",
)} )}
> >
{platform === "windows" ? ( {platform === "windows" ? (

View File

@ -11,7 +11,8 @@
"title": "Lume", "title": "Lume",
"center": true, "center": true,
"fullscreen": false, "fullscreen": false,
"fileDropEnabled": true "fileDropEnabled": true,
"decorations": true
} }
] ]
} }

View File

@ -13,11 +13,7 @@
"fullscreen": false, "fullscreen": false,
"hiddenTitle": true, "hiddenTitle": true,
"fileDropEnabled": true, "fileDropEnabled": true,
"decorations": false, "decorations": false
"transparent": true,
"windowEffects": {
"effects": ["micaLight", "micaDark"]
}
} }
] ]
} }