This commit is contained in:
Patrick von Reth 2015-01-22 12:59:03 +01:00
parent 44bd51c3f5
commit b0594d4087
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ Rectangle {
if (corner == Qt.TopRightCorner || corner == Qt.BottomRightCorner) { if (corner == Qt.TopRightCorner || corner == Qt.BottomRightCorner) {
animation.from = Screen.desktopAvailableWidth animation.from = Screen.desktopAvailableWidth
animation.to = Screen.desktopAvailableWidth - width animation.to = Screen.desktopAvailableWidth - width
} else if(corner == Qt.TopLeftCorner || corner == Qt.BottomLeftCorner) { } else {
animation.from = -width animation.from = -width
animation.to = 0 animation.to = 0
} }