Skip to content

Commit

Permalink
Correct placement for vertical screen layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
delcake authored Apr 26, 2022
1 parent bb90f17 commit 915216d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contents/ui/MenuRepresentation.qml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ PlasmaCore.Dialog {
offset = (125 * PlasmaCore.Units.devicePixelRatio) / 2 + parent.height * 0.125
}
}
y = parent.height + panelSvg.margins.bottom + offset;
y = screen.y + parent.height + panelSvg.margins.bottom + offset;
} else {
if (plasmoid.configuration.offsetY > 0) {
offset = plasmoid.configuration.offsetY
}
y = screen.height - parent.height - height - panelSvg.margins.top - offset;
y = screen.y + screen.height - parent.height - height - panelSvg.margins.top - offset;
}
} else {
y = vertMidPoint - height / 2
Expand Down

0 comments on commit 915216d

Please sign in to comment.