ui: Non-circular overlays and less buttons
Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/450>
This commit is contained in:
parent
e5930b134c
commit
0b4c69459f
18 changed files with 470 additions and 93 deletions
|
|
@ -129,7 +129,7 @@ impl LpWindow {
|
|||
|
||||
/// Start animation to hide controls
|
||||
pub fn hide_controls(&self) {
|
||||
if self.are_controls_visible() {
|
||||
if self.are_controls_visible() && !self.image_view().zoom_menu_button().is_active() {
|
||||
self.show_controls_animation().pause();
|
||||
self.hide_controls_animation()
|
||||
.set_value_from(self.controls_opacity());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue