Skip to content
Snippets Groups Projects
Commit 8e3a39d4 authored by Matěj Lang's avatar Matěj Lang
Browse files

Select active stick when clicking in ImageDialog on the stick.

parent 141ff90f
No related branches found
No related tags found
No related merge requests found
<template>
<g :id="'stickPreview_' + this.stickID">
<g :id="'stickPreview_' + this.stickID" @click="setActiveStick">
<defs>
<linearGradient id="selectTop" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#000000;stop-opacity:1" />
......@@ -359,6 +359,13 @@ export default {
})
}
},
setActiveStick() {
this.$store.dispatch('setActivePoint', {
stickID: this.stickID,
cameraID: this.cameraID,
imageName: this.imageName
})
},
buildStickBackupData() {
this.backup.top.x = this.point1.x
this.backup.top.y = this.point1.y
......
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