mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-13 14:36:32 -04:00
control center: improve drag handling
misc: fix layer shell enum usage
This commit is contained in:
@@ -409,7 +409,7 @@ Column {
|
||||
|
||||
var xPos = buttonPos.x - popupWidth - Theme.spacingS;
|
||||
if (xPos < 0)
|
||||
xPos = buttonPos.x + focusedWindowMenuButton.width + Theme.spacingS;
|
||||
xPos = buttonPos.x + focusedWindowMenuButton.width + Theme.spacingS;
|
||||
|
||||
var yPos = buttonPos.y - popupHeight / 2 + focusedWindowMenuButton.height / 2;
|
||||
if (yPos < 0) {
|
||||
|
||||
Reference in New Issue
Block a user