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
|
<button
|
||||||
class="uk-button uk-button-default uk-width-1-2 uk-button-primary"
|
class="uk-button uk-button-default uk-width-1-2 uk-button-primary"
|
||||||
type="button"
|
type="button"
|
||||||
@click="selectRightToLeft"
|
@click="selectDir"
|
||||||
>
|
>
|
||||||
Right to left (anti-clockwise)
|
Anti-clockwise
|
||||||
</button>
|
</button>
|
||||||
<action-button
|
<action-button
|
||||||
class="uk-width-1-2"
|
class="uk-width-1-2"
|
||||||
thing="stage"
|
thing="stage"
|
||||||
action="invert_axis_direction"
|
action="invert_axis_direction"
|
||||||
:submit-data="{ axis: 'z' }"
|
:submit-data="{ axis: 'z' }"
|
||||||
submit-label="Left to right (clockwise)"
|
submit-label="Clockwise"
|
||||||
@response="selectLeftToRight"
|
@response="selectDir"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -80,10 +80,8 @@ export default {
|
||||||
}
|
}
|
||||||
this.invokeAction("stage", "jog", { stop: true });
|
this.invokeAction("stage", "jog", { stop: true });
|
||||||
},
|
},
|
||||||
selectRightToLeft() {
|
// Once a direction is selected, advance
|
||||||
this.$emit("advance");
|
selectDir() {
|
||||||
},
|
|
||||||
selectLeftToRight() {
|
|
||||||
this.$emit("advance");
|
this.$emit("advance");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue