elementary / greeter

Login and Lock Screen greeter for elementary OS and Pantheon, using LightDM
GNU General Public License v3.0
152 stars 39 forks source link

MainWindow: Use scroll and swipe handling from Hdy #537

Closed danirabbit closed 3 years ago

danirabbit commented 3 years ago

Replaces custom scroll handling with scroll and swipe handling native to Hdy.Carousel. This both gives us 1:1 swiping and long swiping across several cards

The previous method here relied on packing hidden cards into the carousel and hiding and showing all cards for the manual card entry. This doesn't work because you can swipe over to hidden cards, which is bad. So instead, use a Gtk.Stack to switch between manual login and user cards

vjr commented 3 years ago

Does this PR preserve the mouse wheel based scrolling ability?