Use separate CSS class for TV mode

This commit is contained in:
Rafał Dzięgiel
2021-02-12 11:49:34 +01:00
parent a597de5481
commit 46e8bef7b8
3 changed files with 43 additions and 41 deletions

View File

@@ -112,6 +112,7 @@ class ClapperWidget extends Gtk.Grid
const root = this.get_root();
const action = (isFullscreen) ? 'add' : 'remove';
root[action + '_css_class']('gpufriendlyfs');
root[action + '_css_class']('tvmode');
if(!this.floatingMode)
this._changeControlsPlacement(isFullscreen);