Just say clockwise / anti clockwise
This commit is contained in:
parent
e291e2ef52
commit
fa55b068aa
1 changed files with 6 additions and 8 deletions
|
|
@ -20,17 +20,17 @@
|
|||
<button
|
||||
class="uk-button uk-button-default uk-width-1-2 uk-button-primary"
|
||||
type="button"
|
||||
@click="selectRightToLeft"
|
||||
@click="selectDir"
|
||||
>
|
||||
Right to left (anti-clockwise)
|
||||
Anti-clockwise
|
||||
</button>
|
||||
<action-button
|
||||
class="uk-width-1-2"
|
||||
thing="stage"
|
||||
action="invert_axis_direction"
|
||||
:submit-data="{ axis: 'z' }"
|
||||
submit-label="Left to right (clockwise)"
|
||||
@response="selectLeftToRight"
|
||||
submit-label="Clockwise"
|
||||
@response="selectDir"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -80,10 +80,8 @@ export default {
|
|||
}
|
||||
this.invokeAction("stage", "jog", { stop: true });
|
||||
},
|
||||
selectRightToLeft() {
|
||||
this.$emit("advance");
|
||||
},
|
||||
selectLeftToRight() {
|
||||
// Once a direction is selected, advance
|
||||
selectDir() {
|
||||
this.$emit("advance");
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue