Wait for movements to complete before queue callback
This commit is contained in:
parent
f10a5d7ec3
commit
a89f5138d3
|
@ -649,6 +649,13 @@ Callbacks = {
|
|||
},
|
||||
|
||||
queue: function(data) {
|
||||
// Wait until pending movements are completed
|
||||
if(MOVING) {
|
||||
setTimeout(function() {
|
||||
Callbacks.queue(data);
|
||||
}, 100);
|
||||
return;
|
||||
}
|
||||
var li = makeQueueEntry(data.media, true);
|
||||
li.hide();
|
||||
var idx = data.pos;
|
||||
|
|
Loading…
Reference in a new issue