mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-12 10:45:54 +00:00
fix(Widgets): Fix widgets not visible on map
This commit is contained in:
@@ -384,6 +384,10 @@ export const WindowManager: React.FC<WindowManagerProps> = ({ windows: initialWi
|
|||||||
next.position.y = container.clientHeight - next.size.height - SNAP_GAP;
|
next.position.y = container.clientHeight - next.size.height - SNAP_GAP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (next.position.y < 0) {
|
||||||
|
next.position.y = 0;
|
||||||
|
}
|
||||||
|
|
||||||
return next;
|
return next;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user