Skip to content

Commit

Permalink
timeline: Remove transition hover effect JS
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Jul 23, 2020
1 parent 013791b commit 18c0210
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/timeline/js/directives/transition.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ var track_container_height = -1;
// Treats element as a transition
// 1: can be dragged
// 2: can be resized
// 3: class change when hovered over
var dragLoc = null;

/*global App, timeline, hasLockedTrack, moveBoundingBox */
Expand Down Expand Up @@ -166,21 +165,6 @@ App.directive("tlTransition", function () {

});

//handle hover over on the transition
element.hover(
function () {
if (!dragging) {
element.addClass("highlight_transition", 200, "easeInOutCubic");
}
},
function () {
if (!dragging) {
element.removeClass("highlight_transition", 200, "easeInOutCubic");
}
}
);


//handle draggability of transition
element.draggable({
snap: ".track", // snaps to a track
Expand Down

0 comments on commit 18c0210

Please sign in to comment.