Skip to content

Commit

Permalink
Fixing Codacy nitpicks round 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed May 20, 2024
1 parent 2514bd5 commit 63a8119
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/timeline/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ App.controller("TimelineCtrl", function ($scope) {
var marker_position_frames = marker.position * frames_per_second;

if ($scope.Qt) {
timeline.SeekToKeyframe(marker_position_frames)
timeline.SeekToKeyframe(marker_position_frames);
}
};

Expand Down
4 changes: 2 additions & 2 deletions src/timeline/js/directives/clip.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ App.directive("tlClip", function ($timeout) {
left: event.pageX - elementOffset.left,
top: event.pageY - elementOffset.top
};
$(this).data('offset', cursorOffset);
$(this).data("offset", cursorOffset);

var scrolling_tracks = $("#scrolling_tracks");
var vert_scroll_offset = scrolling_tracks.scrollTop();
Expand Down Expand Up @@ -328,7 +328,7 @@ App.directive("tlClip", function ($timeout) {
},
drag: function (e, ui) {
// Retrieve the initial cursor offset
var initialOffset = $(this).data('offset');
var initialOffset = $(this).data("offset");

var previous_x = ui.originalPosition.left;
var previous_y = ui.originalPosition.top;
Expand Down
4 changes: 2 additions & 2 deletions src/timeline/js/directives/transition.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ App.directive("tlTransition", function () {
left: event.pageX - elementOffset.left,
top: event.pageY - elementOffset.top
};
$(this).data('offset', cursorOffset);
$(this).data("offset", cursorOffset);

var scrolling_tracks = $("#scrolling_tracks");
var vert_scroll_offset = scrolling_tracks.scrollTop();
Expand Down Expand Up @@ -272,7 +272,7 @@ App.directive("tlTransition", function () {
},
drag: function (e, ui) {
// Retrieve the initial cursor offset
var initialOffset = $(this).data('offset');
var initialOffset = $(this).data("offset");

var previous_x = ui.originalPosition.left;
var previous_y = ui.originalPosition.top;
Expand Down

0 comments on commit 63a8119

Please sign in to comment.