Commit ffc0a82a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Timeline: Don't trigger resize/move when the mouse didn't move

parent 54bd5819
......@@ -319,10 +319,13 @@ Rectangle {
}
onReleased: {
// Don't trigger event if the mouse didn't move
if ( resizing === true && isCutMode === false )
resize();
else
else if ( dragArea.drag.active )
{
dragFinished();
}
}
states: [
......
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