diff --git a/src/components/BowTargetEdit.vue b/src/components/BowTargetEdit.vue index 48c558e..5e1342b 100644 --- a/src/components/BowTargetEdit.vue +++ b/src/components/BowTargetEdit.vue @@ -158,7 +158,11 @@ onMounted(async () => { @@ -187,20 +191,11 @@ onMounted(async () => { direction="all" :animation="false" :out-of-bounds="true" - :x="arrow ? (rect.width * arrow.x) / scale : 0" - :y="arrow ? (rect.width * arrow.y) / scale : 0" + :x="arrow ? rect.width * arrow.x : 0" + :y="arrow ? rect.width * arrow.y : 0" > - - - + + {{ arrow.ring === 0 ? "M" : arrow.ring }} { overflow-x: hidden; overflow-y: auto; } +.container::-webkit-scrollbar { + width: 0; + height: 0; + color: transparent; +} .move-area { width: 100%; height: 100%; transition: all 0.3s ease; } -.move-area::-webkit-scrollbar { - width: 0; - height: 0; - color: transparent; -} .move-area > image { width: 90%;