MCPcopy
hub / github.com/ollm/OpenComic / highlightItemContextMenu

Function highlightItemContextMenu

scripts/gamepad.js:715–721  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

713}
714
715function 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
723function showMenu()
724{

Callers 1

gamepad.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected