cleanup
This commit is contained in:
parent
44bd51c3f5
commit
b0594d4087
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue