mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Performance: do not draw header bar bottom border
It is not even noticable and reduces performance by having more pixels to redraw every frame.
This commit is contained in:
@@ -8,6 +8,7 @@ class ClapperHeaderBar extends Gtk.HeaderBar
|
|||||||
super._init({
|
super._init({
|
||||||
can_focus: false,
|
can_focus: false,
|
||||||
});
|
});
|
||||||
|
this.add_css_class('noborder');
|
||||||
|
|
||||||
this.set_title_widget(this._createWidgetForWindow(window));
|
this.set_title_widget(this._createWidgetForWindow(window));
|
||||||
let clapperWidget = window.get_child();
|
let clapperWidget = window.get_child();
|
||||||
|
@@ -152,6 +152,9 @@ scale marks {
|
|||||||
.nobackground {
|
.nobackground {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
.noborder {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
.controlsbox {
|
.controlsbox {
|
||||||
background: @theme_bg_color;
|
background: @theme_bg_color;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user