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

Function moveWindow

apps/webuiapps/src/lib/windowManager.ts:106–114  ·  view source on GitHub ↗
(appId: number, x: number, y: number)

Source from the content-addressed store, hash-verified

104}
105
106export function moveWindow(appId: number, x: number, y: number): void {
107 const win = windows.find((w) => w.appId === appId);
108 if (win) {
109 win.x = x;
110 win.y = y;
111 windows = [...windows];
112 notify();
113 }
114}
115
116export function resizeWindow(appId: number, width: number, height: number): void {
117 const win = windows.find((w) => w.appId === appId);

Callers 1

handleMouseMoveFunction · 0.90

Calls 1

notifyFunction · 0.85

Tested by

no test coverage detected