window: Use border variant of raised HeaderBar
This avoids shadows over images Closes #106 Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/263>
This commit is contained in:
parent
14fad2ffad
commit
d1465b43e6
1 changed files with 2 additions and 1 deletions
|
|
@ -969,7 +969,8 @@ impl LpWindow {
|
|||
if self.extend_to_top(fullscreened, show_properties, show_menu) {
|
||||
adw::ToolbarStyle::Flat
|
||||
} else {
|
||||
adw::ToolbarStyle::Raised
|
||||
// Use the border variant of raised to avoid shadows over images
|
||||
adw::ToolbarStyle::__Unknown(2)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue