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