diff --git a/src/views/components/element/LineElement/index.vue b/src/views/components/element/LineElement/index.vue index 30e9e42c..0c987ee4 100644 --- a/src/views/components/element/LineElement/index.vue +++ b/src/views/components/element/LineElement/index.vue @@ -35,6 +35,7 @@ /> .editable-element-shape { position: absolute; + pointer-events: none; - &.lock .line-path { - cursor: default; + &.lock { + .line-path, .line-point { + cursor: default; + } } } @@ -144,7 +148,8 @@ export default defineComponent({ overflow: visible; } } -.line-path { +.line-path, .line-point { + pointer-events: all; cursor: move; }