ui_migration lint(fix): changes fixed with lint ecmaversion & es2021

This commit is contained in:
Antonio Anaya 2026-02-15 01:03:29 -06:00
parent 0741e3cf7e
commit ce19ea3fc0
52 changed files with 242 additions and 193 deletions

View file

@ -50,7 +50,7 @@ export default {
resizeTimeoutId: setTimeout(this.doneResizing, 500),
};
},
computed: {
streamEnabled: function () {
return this.$store.getters.ready && !this.$store.state.disableStream;
@ -65,7 +65,7 @@ export default {
},
mounted() {
//set up an intersection observer
//set up an intersection observer
useIntersectionObserver(
this.$refs.streamDisplay,
([{ isIntersecting }]) => {
@ -73,7 +73,7 @@ export default {
},
{
threshold: 0.0,
}
},
);
// A global signal listener to flash the stream element
this.onFlashStream = () => {
@ -81,7 +81,7 @@ export default {
};
eventBus.on("globalFlashStream", this.onFlashStream);
// Mutation observer
this.sizeObserver = new ResizeObserver(() => {
this.handleResize(); // For any element attached to the observer, run handleResize() on change
@ -141,8 +141,8 @@ export default {
// Emit a signal to move, acted on by paneControl.vue
eventBus.emit("globalMoveInImageCoordinatesEvent", {
x:-xRelative,
y:-yRelative
x: -xRelative,
y: -yRelative,
});
},