mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-21 18:19:03 +08:00
继续调大横竖屏窗口默认尺寸
This commit is contained in:
+2
-2
@@ -141,11 +141,11 @@ function MainContent(): React.JSX.Element {
|
|||||||
}
|
}
|
||||||
if (nextPortraitMode) {
|
if (nextPortraitMode) {
|
||||||
await api.windowSetResizable(false)
|
await api.windowSetResizable(false)
|
||||||
await api.windowResize(940, 1380)
|
await api.windowResize(940, 1600)
|
||||||
setSidebarCollapsed(true)
|
setSidebarCollapsed(true)
|
||||||
} else {
|
} else {
|
||||||
await api.windowSetResizable(true)
|
await api.windowSetResizable(true)
|
||||||
await api.windowResize(1440, 900)
|
await api.windowResize(1680, 1020)
|
||||||
setSidebarCollapsed(false)
|
setSidebarCollapsed(false)
|
||||||
}
|
}
|
||||||
setIsPortraitMode(nextPortraitMode)
|
setIsPortraitMode(nextPortraitMode)
|
||||||
|
|||||||
Reference in New Issue
Block a user