Commit a363da2a authored by Marco Martin's avatar Marco Martin

try harder to make the sliding panel take all screen

parent 1b29044a
......@@ -33,6 +33,9 @@ FullScreenPanel {
color: "transparent"
property alias contents: contentArea.data
width: Screen.width
height: Screen.height
function updateState() {
var delta = offset - mouseArea.startOffset;
if (delta > units.gridUnit * 8) {
......@@ -49,6 +52,8 @@ FullScreenPanel {
if (visible) {
mouseArea.state = "draggingFromClosed";
mouseArea.startOffset = units.gridUnit * 4;
window.width = Screen.width;
window.height = Screen.height;
}
}
......
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