mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
feat(editor): Overhaul handle rendering to allow dragging of plus button (no-changelog) (#10512)
This commit is contained in:
@@ -726,7 +726,12 @@ function onRevertCreateConnection({ connection }: { connection: [IConnection, IC
|
||||
revertCreateConnection(connection);
|
||||
}
|
||||
|
||||
function onCreateConnectionCancelled(event: ConnectStartEvent) {
|
||||
function onCreateConnectionCancelled(event: ConnectStartEvent, mouseEvent?: MouseEvent) {
|
||||
const preventDefault = (mouseEvent?.target as HTMLElement).classList?.contains('clickable');
|
||||
if (preventDefault) {
|
||||
return;
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
nodeCreatorStore.openNodeCreatorForConnectingNode({
|
||||
connection: {
|
||||
|
||||
Reference in New Issue
Block a user