From 4a0de7b2fcfbb9ba4bd5babe09bfc442836d88ec Mon Sep 17 00:00:00 2001 From: Hariz Date: Fri, 5 Sep 2025 20:17:22 -0400 Subject: [PATCH] Reduce bottom bound on dragging UIItems (#1485) --- src/gui/src/UI/UIItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/UI/UIItem.js b/src/gui/src/UI/UIItem.js index 9b872ae76..496227918 100644 --- a/src/gui/src/UI/UIItem.js +++ b/src/gui/src/UI/UIItem.js @@ -288,7 +288,7 @@ function UIItem(options){ const minLeft = -50; const maxLeft = window.desktop_width - 50; const minTop = window.toolbar_height; - const maxTop = window.desktop_height + window.toolbar_height - 50; + const maxTop = window.desktop_height + window.toolbar_height; // Apply constraints to ui.position ui.position.left = Math.max(minLeft, Math.min(maxLeft, ui.position.left));