fix a bug related to updating autocomplete words when removing an annotation
This commit is contained in:
parent
1eaf240970
commit
bec434a353
1 changed files with 1 additions and 1 deletions
|
@ -656,8 +656,8 @@ Ox.VideoEditor = function(options, self) {
|
||||||
Ox.print('REMOVE EVENT REACHED EDITOR', data)
|
Ox.print('REMOVE EVENT REACHED EDITOR', data)
|
||||||
var layer = Ox.getObjectById(self.options.layers, data.layer),
|
var layer = Ox.getObjectById(self.options.layers, data.layer),
|
||||||
index = Ox.getIndexById(layer.items, data.id);
|
index = Ox.getIndexById(layer.items, data.id);
|
||||||
layer.items.splice(index, 1);
|
|
||||||
updateWords('remove');
|
updateWords('remove');
|
||||||
|
layer.items.splice(index, 1);
|
||||||
self.editing = false;
|
self.editing = false;
|
||||||
self.options.selected = '';
|
self.options.selected = '';
|
||||||
setTimelineState();
|
setTimelineState();
|
||||||
|
|
Loading…
Add table
Reference in a new issue