Skip to content

Commit

Permalink
Ignore lint errors for now
Browse files Browse the repository at this point in the history
  • Loading branch information
naglepuff committed Feb 5, 2025
1 parent 806a38c commit 78c5115
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions large_image/widgets/FrameSelector.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script>
// TODO: consider removing all mutations of the prop `currentFrame`
export default {
name: 'FrameSelector',
props: [
Expand Down Expand Up @@ -79,12 +80,14 @@ export default {
},
methods: {
updateCurrentFrame(value) {
// eslint-disable-next-line
this.currentFrame = +value;
},
setCurrentMode(mode) {
this.currentModeId = mode.id;
},
setCurrentFrame(frame) {
// eslint-disable-next-line
this.currentFrame = +frame;
this.indexInfo = Object.fromEntries(
Object.entries(this.indexInfo)
Expand Down Expand Up @@ -128,6 +131,7 @@ export default {
this.updateHistogramParamStyles();
},
updateFrameSlider(frame) {
// eslint-disable-next-line
this.currentFrame = +frame;
this.frameUpdate({frame, undefined});
},
Expand All @@ -141,6 +145,7 @@ export default {
}
}
});
// eslint-disable-next-line
this.currentFrame = +frame;
let style = this.currentModeId > 1 ? Object.assign({}, this.style[this.currentModeId]) : undefined;
if (style && style.preset) delete style.preset;
Expand Down

0 comments on commit 78c5115

Please sign in to comment.