mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-25 05:52:50 -05:00
fix app drawer context menus
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user