Commit 6e03fc1e authored by Marco Martin's avatar Marco Martin

just assign slidingPanel.visible = true;

parent 79d65e9b
...@@ -202,7 +202,7 @@ PlasmaCore.ColorScope { ...@@ -202,7 +202,7 @@ PlasmaCore.ColorScope {
anchors.fill: parent anchors.fill: parent
onPressed: { onPressed: {
oldMouseY = mouse.y; oldMouseY = mouse.y;
slidingPanel.visibility = Qt.WindowFullScreen; slidingPanel.visible = true;
} }
onPositionChanged: { onPositionChanged: {
//var factor = (mouse.y - oldMouseY > 0) ? (1 - Math.max(0, (slidingArea.y + slidingPanel.overShoot) / slidingPanel.overShoot)) : 1 //var factor = (mouse.y - oldMouseY > 0) ? (1 - Math.max(0, (slidingArea.y + slidingPanel.overShoot) / slidingPanel.overShoot)) : 1
......
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