Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Don't allow setting timeline zone to negative. Fixes #54

parent 4c57e8b3
......@@ -247,6 +247,9 @@ Rectangle {
onPositionChanged: {
if (mouse.buttons === Qt.LeftButton) {
var newPos = controller.suggestSnapPoint(timeline.zoneIn + Math.round(trimIn.x / timeline.scaleFactor), root.snapping)
if (newPos < 0) {
newPos = 0
}
timeline.zoneIn = timeline.zoneOut > -1 ? Math.min(newPos, timeline.zoneOut - 1) : newPos
}
}
......
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