优化横竖切换按钮位置图标并修复侧栏重复显示

This commit is contained in:
JSR
2026-03-18 21:10:04 +08:00
parent ff29ed5fff
commit df72b5e65e
3 changed files with 38 additions and 32 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ function MainContent(): React.JSX.Element {
}
if (nextPortraitMode) {
await api.windowSetResizable(false)
await api.windowResize(940, 1280)
await api.windowResize(940, 1380)
setSidebarCollapsed(true)
} else {
await api.windowSetResizable(true)