timeline.qml (shotcut-22.10.22) | : | timeline.qml (shotcut-22.11.25) | ||
---|---|---|---|---|
skipping to change at line 542 | skipping to change at line 542 | |||
visible: false | visible: false | |||
Repeater { | Repeater { | |||
id: selectionRepeater | id: selectionRepeater | |||
model: timeline.selection | model: timeline.selection | |||
Rectangle { | Rectangle { | |||
property var clip: trackAt(modelData.y).clip At(modelData.x) | property var clip: trackAt(modelData.y).clip At(modelData.x) | |||
property var track: typeof clip === 'undefin ed' ? trackAt(clip.trackIndex + dragDelta.y) : 0 | property var track: typeof clip !== 'undefin ed' && typeof dragDelta !== 'undefined' ? trackAt(clip.trackIndex + dragDelta.y) : 0 | |||
x: typeof clip === 'undefined' ? clip.x + dr agDelta.x : 0 | x: clip && typeof dragDelta !== 'undefined' ? clip.x + dragDelta.x : 0 | |||
y: track ? track.y : 0 | y: track ? track.y : 0 | |||
width: clip.width | width: clip.width | |||
height: track ? track.height : 0 | height: track ? track.height : 0 | |||
color: 'transparent' | color: 'transparent' | |||
border.color: 'red' | border.color: 'red' | |||
visible: !clip.Drag.active && clip.trackInde x === clip.originalTrackIndex | visible: !clip.Drag.active && clip.trackInde x === clip.originalTrackIndex | |||
} | } | |||
} | } | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |