fix(editor): Fix canvas selection breaking after interacting with node actions (#7466)

Sometimes canvas selection stops working after users interact with node
action buttons (for example if node is moved by dragging one of the
buttons)
NOTE: Ticket number in the branch name is wrong, this fixes ADO-1226
This commit is contained in:
Milorad FIlipović
2023-10-20 09:26:40 +02:00
committed by GitHub
parent b50376cf52
commit bc473655fb
4 changed files with 37 additions and 0 deletions

View File

@@ -271,6 +271,9 @@ export const useCanvasStore = defineStore('canvas', () => {
if (moveNodes.length > 1) {
historyStore.stopRecordingUndo();
}
if (uiStore.isActionActive('dragActive')) {
uiStore.removeActiveAction('dragActive');
}
}
},
filter: '.node-description, .node-description .node-name, .node-description .node-subtitle',