MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / minimizeWindow

Function minimizeWindow

apps/webuiapps/src/lib/windowManager.ts:97–104  ·  view source on GitHub ↗
(appId: number)

Source from the content-addressed store, hash-verified

95}
96
97export function minimizeWindow(appId: number): void {
98 const win = windows.find((w) => w.appId === appId);
99 if (win) {
100 win.minimized = true;
101 windows = [...windows];
102 notify();
103 }
104}
105
106export function moveWindow(appId: number, x: number, y: number): void {
107 const win = windows.find((w) => w.appId === appId);

Callers 1

AppWindowFunction · 0.90

Calls 1

notifyFunction · 0.85

Tested by

no test coverage detected