summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/other/deviceitem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/other/deviceitem.cpp b/src/other/deviceitem.cpp
index 5a4ca90..9bee2da 100644
--- a/src/other/deviceitem.cpp
+++ b/src/other/deviceitem.cpp
@@ -286,6 +286,8 @@ void DeviceItem::updateScreenOrientation()
void DeviceItem::initiateRotate()
{
+ mDefaultAnimation->stop();
+
// set the view to the maximum size
int rotationSide = rotationSideLength() * scale();
setPos(rotationSide/2, rotationSide/2);