Enable cancelling moves
This enables the cancel button - it will be necessary to update `labthings-sangaboard` for this to work.
This commit is contained in:
parent
2bc585fe33
commit
8e2402af18
1 changed files with 3 additions and 3 deletions
|
|
@ -113,10 +113,10 @@
|
||||||
:submit-url="absoluteMoveUri"
|
:submit-url="absoluteMoveUri"
|
||||||
:submit-data="setPosition"
|
:submit-data="setPosition"
|
||||||
:submit-label="'Move'"
|
:submit-label="'Move'"
|
||||||
:can-terminate="false"
|
:can-terminate="true"
|
||||||
:poll-interval="0.05"
|
:poll-interval="0.05"
|
||||||
@taskStarted="moveLock = true"
|
@taskStarted="moveLock = true"
|
||||||
@finished="moveLock = false"
|
@finished="updatePosition(); moveLock = false"
|
||||||
@error="modalError"
|
@error="modalError"
|
||||||
></taskSubmitter>
|
></taskSubmitter>
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -138,7 +138,7 @@
|
||||||
:button-primary="false"
|
:button-primary="false"
|
||||||
:submit-on-event="'globalFastAutofocusEvent'"
|
:submit-on-event="'globalFastAutofocusEvent'"
|
||||||
@taskStarted="isAutofocusing = 1"
|
@taskStarted="isAutofocusing = 1"
|
||||||
@finished="isAutofocusing = 0"
|
@finished="updatePosition(); isAutofocusing = 0"
|
||||||
@error="modalError"
|
@error="modalError"
|
||||||
></taskSubmitter>
|
></taskSubmitter>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue