…u is currently shown
This is useful when a custom command type is defined which builds itself off of the trigger element. For example, a custom command type which sets its color to the same as the clicked element.
…n the sub-menu-item (Issue #41)
… trigger with ignoreRightClick set to true. Without this patch all subsequent right-clicks, after an initial left-click, will continue to show the context menu. What we expect is for any subsequent right-clicks to hide the menu. To achieve this we need to set ignoreThisClick to true on a right-click if ignoreRightClick is true.