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 // FIXME
// self.editing = false; // self.editing = false;
if (data.id) { if (data.id) {
if (!stayAtPosition if (!stayAtPosition || (
|| self.options.annotationsRange != 'position' self.options.annotationsRange != 'position' && (
|| self.options.position < data['in'] self.options.position < data['in']
|| self.options.position > data.out || self.options.position > data.out
)
)
) { ) {
setPosition(data['in']); setPosition(data['in']);
// if annotationsRange is 'position', // if annotationsRange is 'position',