Verified Commit 86e2ba26 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
parent f3c80628
......@@ -464,10 +464,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