()
| 713 | } |
| 714 | |
| 715 | function highlightItemContextMenu() |
| 716 | { |
| 717 | let current = currentScreenItems[currentHighlightItem] || false; |
| 718 | |
| 719 | if(current && current.element.getAttribute('oncontextmenu')) |
| 720 | new Function('let fromGamepad = true;'+current.element.getAttribute('oncontextmenu')).call(current.element); |
| 721 | } |
| 722 | |
| 723 | function showMenu() |
| 724 | { |