Optimize sliders for GTK 4.1

This commit is contained in:
Rafał Dzięgiel
2021-02-09 12:40:11 +01:00
parent b472c23bf5
commit 23ef3bb85f
2 changed files with 9 additions and 1 deletions

View File

@@ -27,6 +27,9 @@ class ClapperAppBase extends Gtk.Application
title: Misc.appName,
});
if(Gtk.MINOR_VERSION > 0)
window.add_css_class('gtk41');
if(!settings.get_boolean('render-shadows'))
window.add_css_class('gpufriendly');