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:
parent
52d6d989f8
commit
6852d06e04
|
@ -1631,6 +1631,7 @@ Player.prototype.toggleMenuVisibility = function(MenuID, Trigger) {
|
||||||
if(element.classList.contains("visible"))
|
if(element.classList.contains("visible"))
|
||||||
{
|
{
|
||||||
HideMenu(element);
|
HideMenu(element);
|
||||||
|
this.MenusFocused.MenuID = menu_id.UNSET;
|
||||||
|
|
||||||
if(Trigger == trigger_id.KEYBOARD && this.Menus[menu_id.MARKERS].Item.LastFocused)
|
if(Trigger == trigger_id.KEYBOARD && this.Menus[menu_id.MARKERS].Item.LastFocused)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue