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
|
// 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',
|
||||||
|
|
Loading…
Reference in a new issue