fix
This commit is contained in:
@@ -56,7 +56,7 @@ export class EventManager {
|
|||||||
mousemove_:any
|
mousemove_:any
|
||||||
/** 处理鼠标中间点击 */
|
/** 处理鼠标中间点击 */
|
||||||
mousedown(event:any) {
|
mousedown(event:any) {
|
||||||
if (event.button === 1) {
|
if (event.button === 1 && !event.target.classList.contains('dragging')) {
|
||||||
this.vueFlowPosition = this.vueFlow.value.getTransform()
|
this.vueFlowPosition = this.vueFlow.value.getTransform()
|
||||||
event.target.classList.add('dragging')
|
event.target.classList.add('dragging')
|
||||||
this.originalPosition = {
|
this.originalPosition = {
|
||||||
|
|||||||
Reference in New Issue
Block a user