ソースを参照

chore: 优化拖拽锚点

奔跑的面条 3 年 前
コミット
85beabe7c8

+ 5 - 2
src/views/chart/ContentEdit/components/EditShapeBox/index.vue

@@ -71,11 +71,14 @@ const select = computed(() => {
     border-radius: 5px;
     background-color: #fff;
     transform: translate(-40%, -30%);
-    &.t, 
-    &.b {
+    &.t {
       width: 30px;
       transform: translate(-50%, -50%);
     }
+    &.b {
+      width: 30px;
+      transform: translate(-50%, -30%);
+    }
     &.l, 
     &.r {
       height: 30px;