Split autofocus component

This commit is contained in:
Julian Stirling 2025-11-07 17:38:10 +00:00
parent 03481f2435
commit f19d6681c4
4 changed files with 53 additions and 28 deletions

View file

@ -72,6 +72,7 @@ export default {
let self = this;
// A global signal listener to perform a move action
this.$root.$on("globalMoveEvent", self.move);
this.$root.$on("globalUpdatePositionEvent", self.updatePosition);
// A global signal listener to perform a move action in pixels
this.$root.$on("globalMoveInImageCoordinatesEvent", (x, y, absolute) => {
this.moveInImageCoordinatesRequest(x, y, absolute);
@ -94,6 +95,7 @@ export default {
this.$root.$off("globalMoveEvent");
this.$root.$off("globalMoveInImageCoordinatesEvent");
this.$root.$off("globalMoveStepEvent");
this.$root.$off("globalUpdatePositionEvent");
},
methods: {