Skip to content

Commit

Permalink
qmlformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed May 3, 2023
1 parent cb06a8e commit fb62ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qml/views/timeline/timeline.qml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ Rectangle {

anchors.fill: parent
keys: ["trackHeader"]
onEntered: (drag) => {
onEntered: drag => {
if (trackHead.isVideo == drag.source.trackHead.isVideo) {
containsValidDrag = true;
timeline.currentTrack = trackHead.trackIndex;
Expand All @@ -320,7 +320,7 @@ Rectangle {
onExited: {
containsValidDrag = false;
}
onDropped: (drop) => {
onDropped: drop => {
if (drop.proposedAction == Qt.MoveAction) {
if (trackHead.isVideo && !drop.source.trackHead.isVideo) {
application.showStatusMessage(qsTr('Can not move audio track above video track'));
Expand Down

0 comments on commit fb62ffd

Please sign in to comment.