Unfreeze playhead after removing clip from timeline

This commit is contained in:
ABelliqueux 2023-01-17 14:53:04 +01:00
parent e44ff71a58
commit e84af71fa1
1 changed files with 4 additions and 1 deletions

View File

@ -98,7 +98,10 @@ async function update_delete_VLC_playlist(host, delete_element_id) {
send_ajax_cmd("/" + host + "/delete/" + delete_media_id);
await sleep(200);
adjust_timeline(host);
//~ currentUser.freeze_timeline_update = 0;
// Unfreeze timeline UI after delay
setTimeout(function(){
currentUser.freeze_timeline_update = 0;
}, 200);
}
function find_target_index(element, index) {