Skip to content
Snippets Groups Projects
Unverified Commit f3269cdc authored by tusooa's avatar tusooa :zap:
Browse files

Make lint happy

parent 3502d374
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,6 @@ library.add(
faCircleNotch
)
const onlyXAxis = ([x, y]) => [x, 0]
const SCALING_RESET_MIN = 1.1
const SCALING_ENABLE_MOVE_THRESHOLD = 1
const MediaModal = {
components: {
StillImage,
......
import PinchZoom from '@kazvmoe-infra/pinch-zoom-element'
export default {
props: {
},
methods: {
setTransform ({ scale, x, y }) {
this.$el.setTransform({ scale, x, y })
}
},
created () {
// Make lint happy
(() => PinchZoom)()
}
}
......@@ -78,7 +78,7 @@ const SwipeClick = {
swipeEndCallback: this.end,
swipeCancelCallback: this.cancel,
swipelessClickCallback: this.click
});
})
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment