window/controls: Keep headerbar outside fullscreen
This commit is contained in:
parent
4a7ef27853
commit
410e71141f
2 changed files with 2 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ impl LpWindow {
|
|||
self.image_view().controls_box_start().set_opacity(opacity);
|
||||
self.image_view().controls_box_end().set_opacity(opacity);
|
||||
|
||||
if self.is_headerbar_flat() {
|
||||
if self.is_headerbar_flat() && self.is_fullscreened() {
|
||||
self.headerbar().set_opacity(opacity);
|
||||
} else {
|
||||
self.headerbar().set_opacity(1.);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue