dont move position is it is inside selection

This commit is contained in:
j 2018-03-31 18:07:21 +05:30
parent 92ff15c5df
commit 2a389cfb40

View file

@ -1318,10 +1318,12 @@ Ox.VideoAnnotationPanel = function(options, self) {
// FIXME
// self.editing = false;
if (data.id) {
if (!stayAtPosition
|| self.options.annotationsRange != 'position'
|| self.options.position < data['in']
if (!stayAtPosition || (
self.options.annotationsRange != 'position' && (
self.options.position < data['in']
|| self.options.position > data.out
)
)
) {
setPosition(data['in']);
// if annotationsRange is 'position',