Browse Source

Fix the bug of anchor point

pull/1899/head
Hironsan 2 years ago
parent
commit
2767ac50da
1 changed files with 12 additions and 12 deletions
  1. 24
      frontend/components/tasks/segmentation/VRegion.vue

24
frontend/components/tasks/segmentation/VRegion.vue

@ -13,19 +13,19 @@
@dragstart="onDragStart"
@dragend="onDragEnd"
/>
<v-circle
ref="anchorRef"
:config="{
x: -10,
y: -10,
radius: 5,
fill: 'white',
stroke: 'black',
scaleX: 1 / (scale || 1),
scaleY: 1 / (scale || 1)
}"
/>
<template v-if="isSelected && !isMoving">
<v-circle
ref="anchorRef"
:config="{
x: -10,
y: -10,
radius: 5,
fill: 'white',
stroke: 'black',
scaleX: 1 / (scale || 1),
scaleY: 1 / (scale || 1)
}"
/>
<v-line
v-for="(lineSegment, insertIndex) in writablePolygon.lineSegments"
:key="insertIndex"

Loading…
Cancel
Save