https://github.com/fricze/hnhnhn/blob/main/src/scrollable.clj I added HScrollable to my HN client. not thoroughly tested, but first impression I have is that it works, which is really nice. and I implemented pages list that scroll horizontally when user scrolls with shift pressed
@tonsky is :delta-x and :modifiers on event implemented in Humble or Skija?
thanks
because I was positively surprised that those values are just accessible so making HScrollable from VScrollable was super easy. I didn’t even have to check whether Shift is pressed, because delta-x is automatically calculated when it is
Shift is some backwards compatibility thing, trackpads for example can scroll horizontally natively, same as some mice
just checked trackpad, super nice