clean up work cancellation
This commit is contained in:
parent
5bb6e6e905
commit
18fded64db
3 changed files with 25 additions and 13 deletions
|
|
@ -918,7 +918,9 @@
|
|||
}
|
||||
|
||||
function cancelWorker() {
|
||||
if (KIRI.work.isSlicing()) KIRI.work.restart();
|
||||
if (KIRI.work.isBusy()) {
|
||||
KIRI.work.restart();
|
||||
}
|
||||
}
|
||||
|
||||
function showSlider() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue