Skip to content

Conversation

@NitnerocL
Copy link

No description provided.

Utils.removeNode(this.panel.elementPanel);
Utils.arrayRemove(this.dockManager.context.model.dialogs, this);
delete this.panel.floatingDialog;
this.panel.floatingDialog = undefined;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since floatingDialog is a setter/getter, using delete had no effect on it.

}
this.closeContextMenu();
public createContextMenuItems(): Node[] {
return Dialog.createContextMenuContentCallback(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kept the static functions as I believe that you use them for customization, so that there is no breaking change there.

@jogibear9988 jogibear9988 merged commit 4a2522f into node-projects:master Dec 9, 2025
@jogibear9988
Copy link
Member

will test after merge...
thx

@NitnerocL NitnerocL deleted the issue/#103-dialogs-trigger-context-menu-twice branch December 9, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants