Do not hide controls while navigating panel

This commit is contained in:
Rafostar
2020-10-21 13:19:38 +02:00
parent 0b1864378b
commit cc4757aef5
3 changed files with 42 additions and 2 deletions

View File

@@ -418,6 +418,7 @@ class ClapperPlayer extends GstPlayer.Player
root.connect('close-request', this._onCloseRequest.bind(this));
}
/* Widget only - does not happen when using controls navigation */
_onWidgetKeyPressed(controller, keyval, keycode, state)
{
this.keyPressCount++;
@@ -447,6 +448,7 @@ class ClapperPlayer extends GstPlayer.Player
}
}
/* Also happens after using controls navigation for selected keys */
_onWidgetKeyReleased(controller, keyval, keycode, state)
{
this.keyPressCount = 0;