Commit b925eead authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui

Merge branch 'wip/exalm/scroll-params' into 'master'

paginator: Set scroll params See merge request GNOME/gnome-tour!55
parents 6505941d c886864b
......@@ -113,6 +113,8 @@ impl PaginatorWidget {
self.carousel_dots.set_carousel(Some(&self.carousel));
self.carousel.set_hexpand(true);
self.carousel.set_vexpand(true);
self.carousel
.set_scroll_params(&libadwaita::SpringParams::new(1.0, 0.5, 300.0));
self.carousel
.connect_position_notify(clone!(@weak p => move |_| {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment