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

@ -72,8 +72,9 @@
};
function animate() {
API.view.set(VIEWS.ARRANGE);
API.widgets.opacity(0.75);
API.hide.slider();
STACKS.clear();
CAM.animate(API);
}