Skip to content

Commit

Permalink
Merge pull request #1662 from frytaz/fix/context-menu-submenu
Browse files Browse the repository at this point in the history
fix: use css class to mark submenu
  • Loading branch information
xeolabs authored Sep 10, 2024
2 parents fef2b27 + fd15632 commit b0a4069
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/extras/ContextMenu/ContextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,9 +636,8 @@ class ContextMenu {
if (itemSubMenu) {

html.push(
'<li id="' + item.id + '" class="xeokit-context-menu-item">' +
'<li id="' + item.id + '" class="xeokit-context-menu-item xeokit-context-menu-submenu">' +
actionTitle +
' [MORE]' +
'</li>');
if (!((groupIdx === groupLen - 1) || (j < lenj - 1))) {
html.push(
Expand Down

0 comments on commit b0a4069

Please sign in to comment.