move animation setup into worker

This commit is contained in:
Stewart Allen 2020-11-24 00:48:45 -05:00
commit eaf2cdb668
3 changed files with 34 additions and 36 deletions

View file

@ -251,7 +251,8 @@
},
hide: {
alert: function(rec) { alert2cancel(rec) },
import: function() { }
import: function() { },
slider: hideSlider
},
language: KIRI.lang,
lists,
@ -672,13 +673,12 @@
function showSlider() {
UI.layers.style.display = 'flex';
UI.slider.style.display = 'flex';
// UI.setMenu.style.display = 'none';
}
function hideSlider(andmenu) {
UI.layers.style.display = 'none';
UI.slider.style.display = 'none';
// UI.setMenu.style.display = andmenu ? 'none' : 'flex';
UI.speeds.style.display = 'none';
}
function updateSpeeds(maxSpeed) {