dont move position is it is inside selection
This commit is contained in:
parent
92ff15c5df
commit
2a389cfb40
1 changed files with 6 additions and 4 deletions
|
@ -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']
|
||||
|| self.options.position > data.out
|
||||
if (!stayAtPosition || (
|
||||
self.options.annotationsRange != 'position' && (
|
||||
self.options.position < data['in']
|
||||
|| self.options.position > data.out
|
||||
)
|
||||
)
|
||||
) {
|
||||
setPosition(data['in']);
|
||||
// if annotationsRange is 'position',
|
||||
|
|
Loading…
Reference in a new issue