Remove "escape" key handler

It was conflicting with GTK build-in escape key functionality for closing popovers
This commit is contained in:
Rafał Dzięgiel
2021-03-19 10:29:44 +01:00
parent 79e12a6e36
commit e89b3599c9

View File

@@ -520,12 +520,6 @@ class ClapperPlayer extends PlayerBase
case Gdk.KEY_F: case Gdk.KEY_F:
clapperWidget.toggleFullscreen(); clapperWidget.toggleFullscreen();
break; break;
case Gdk.KEY_Escape:
if(clapperWidget.isFullscreenMode) {
root = this.widget.get_root();
root.unfullscreen();
}
break;
case Gdk.KEY_q: case Gdk.KEY_q:
case Gdk.KEY_Q: case Gdk.KEY_Q:
root = this.widget.get_root(); root = this.widget.get_root();