cinera_player_pre.js: Unset focused menu

When hiding any menu, set this.MenusFocused.MenuID = menu_id.UNSET, to
let hovering over the markers focus them after hiding the link menu.
This commit is contained in:
Matt Mascarenhas 2023-03-25 01:51:40 +00:00
parent 52d6d989f8
commit 6852d06e04
1 changed files with 1 additions and 0 deletions

View File

@ -1631,6 +1631,7 @@ Player.prototype.toggleMenuVisibility = function(MenuID, Trigger) {
if(element.classList.contains("visible"))
{
HideMenu(element);
this.MenusFocused.MenuID = menu_id.UNSET;
if(Trigger == trigger_id.KEYBOARD && this.Menus[menu_id.MARKERS].Item.LastFocused)
{