Skip to content
This repository was archived by the owner on Jan 31, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions public/src/timeline/track-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,13 @@ define( [ "core/logger", "util/dragndrop", "./ghost-manager" ],
if ( newStart < _nextEventMin ) {
newStart = _nextEventMin;
}
// Bug: it doesnt update 'from' status at editor/sequencer-editor.js
// When you resize track by left size 'from' of clip is not updated
if (trackEvent.popcornOptions.start - newStart > 0 ) sign=sign*(-1);
popcornOptions.from = Math.abs(
Math.abs(trackEvent.popcornOptions.start - (trackEventView.element.offsetLeft / _container.clientWidth * _media.duration))
+ (trackEvent.popcornOptions.from*sign)
);

popcornOptions.start = newStart;
}
Expand Down