Commit 0dde8cda authored by luyikei's avatar luyikei

Timeline: Magnet for the left edge of the timeline

parent 386dd703
...@@ -69,6 +69,9 @@ Item { ...@@ -69,6 +69,9 @@ Item {
} }
} }
} }
// Magnet for the left edge of the timeline
if ( newX < magneticMargin )
newX = 0;
} }
// Collision detection // Collision detection
......
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