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