Verified Commit 00a3851c authored by ivan tkachenko's avatar ivan tkachenko
Browse files

[applets/pager] Round displayed window geometry to avoid size "jumps"

BUG: 456488
FIXED-IN: 5.24.6 5.25.3 5.26
(cherry picked from commit 86e2ba26)
parent a96da369
Pipeline #201985 passed with stage
in 5 minutes and 35 seconds
......@@ -450,10 +450,10 @@ MouseArea {
onVisibleNameChanged: desktop.updateSubTextIfNeeded()
/* since we move clipRect with 1, move it back */
x: (geometry.x * pagerItemGrid.widthScaleFactor) - Math.round(PlasmaCore.Units.devicePixelRatio)
y: (geometry.y * pagerItemGrid.heightScaleFactor) - Math.round(PlasmaCore.Units.devicePixelRatio)
width: geometry.width * pagerItemGrid.widthScaleFactor
height: geometry.height * pagerItemGrid.heightScaleFactor
x: Math.round(geometry.x * pagerItemGrid.widthScaleFactor) - Math.round(PlasmaCore.Units.devicePixelRatio)
y: Math.round(geometry.y * pagerItemGrid.heightScaleFactor) - Math.round(PlasmaCore.Units.devicePixelRatio)
width: Math.round(geometry.width * pagerItemGrid.widthScaleFactor)
height: Math.round(geometry.height * pagerItemGrid.heightScaleFactor)
visible: model.IsMinimized !== true
color: {
if (desktop.active) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment