Skip to content

Commit

Permalink
[hide] Fix context menu not closing on enter
Browse files Browse the repository at this point in the history
  • Loading branch information
EspeuteClement committed Jan 9, 2025
1 parent f6e9822 commit c3cd969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hide/comp/ContextMenu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class ContextMenu {
e.preventDefault();
if (selected >= 0 && flatItems != null) {
if (flatItems[selected].menuItem.click != null) {
flatItems[selected].menuItem.click();
flatItems[selected].elem.click();
}
else if (flatItems[selected].menuItem.menu != null) {
currentSubmenuItemId = flatItems[selected].index;
Expand Down

0 comments on commit c3cd969

Please sign in to comment.