Commit 3a0ce695 authored by Srevin Saju's avatar Srevin Saju 🎲 Committed by Nate Graham

revert: bf7d64b3 . Fixes panel height adjusting fails when the panel is on top / left

BUG: 430050
parent b57e2a3f
......@@ -120,10 +120,7 @@ Item {
from: 20 // below this size, the panel is mostly unusable
to: PlasmaCore.Types.LeftEdge || panel.location === PlasmaCore.Types.RightEdge ? panel.screenToFollow.geometry.width / 2 : panel.screenToFollow.geometry.height / 2
// When the panel is on the top or left, we need to reverse the drag
// and scroll directions so people can drag and scroll towards the
// center of the screen
stepSize: panel.location === PlasmaCore.Types.TopEdge || panel.location === PlasmaCore.Types.RightEdge ? -2 : 2
stepSize: 2
value: panel.thickness
onValueModified: {
......
Markdown is supported
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