fix app drawer context menus

This commit is contained in:
bbedward committed 2025-08-05 08:09:28 -04:00
1 parent 54d8ca450f
commit f064ce791a
2 files changed
+6 -13

No files matched your search

-2
View File
@@ -354,7 +354,6 @@ DankModal {
function show(x, y, app) {
currentApp = app
if (!contextMenu.parent && typeof Overlay !== "undefined" && Overlay.overlay)
contextMenu.parent = Overlay.overlay;
@@ -364,7 +363,6 @@ DankModal {
const screenHeight = Screen.height;
let finalX = x;
let finalY = y;
if (x + menuWidth > screenWidth - 20)
finalX = x - menuWidth;