clean up work cancellation

This commit is contained in:
Stewart Allen 2021-02-24 11:09:02 -05:00
commit 18fded64db
3 changed files with 25 additions and 13 deletions

View file

@ -918,7 +918,9 @@
}
function cancelWorker() {
if (KIRI.work.isSlicing()) KIRI.work.restart();
if (KIRI.work.isBusy()) {
KIRI.work.restart();
}
}
function showSlider() {