ui: Non-circular overlays and less buttons

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/450>
This commit is contained in:
Sophie Herold 2024-09-09 22:55:39 +02:00
parent e5930b134c
commit 0b4c69459f
18 changed files with 470 additions and 93 deletions

View file

@ -184,6 +184,7 @@ mod imp {
pub(super) zoom_animation: OnceCell<adw::TimedAnimation>,
/// Targeted zoom level, might differ from `zoom` when animation is
/// running
#[property(get, set = Self::set_zoom_target)]
pub(super) zoom_target: Cell<f64>,
/// Point in image that should stay under the cursor during animation.
/// The value is in image coordinates.