Desktop: Fix window maximize and minimize (#3200)

Fix window maximize and minimize state
This commit is contained in:
Timon
2025-09-20 23:48:47 +00:00
committed by GitHub
parent f4a0f272dd
commit 46d5928724
9 changed files with 44 additions and 40 deletions
+2 -3
View File
@@ -302,9 +302,8 @@ export class UpdatePlatform extends JsMessage {
readonly platform!: AppWindowPlatform;
}
export class UpdateWindowState extends JsMessage {
export class UpdateMaximized extends JsMessage {
readonly maximized!: boolean;
readonly minimized!: boolean;
}
export class CloseWindow extends JsMessage {}
@@ -1694,7 +1693,7 @@ export const messageMakers: Record<string, MessageMaker> = {
UpdateLayersPanelControlBarLeftLayout,
UpdateLayersPanelControlBarRightLayout,
UpdateLayerWidths,
UpdateWindowState,
UpdateMaximized,
UpdateMenuBarLayout,
UpdateMouseCursor,
UpdateNodeGraphControlBarLayout,