agzam / spacehammer

Hammerspoon config inspired by Spacemacs
MIT License
567 stars 70 forks source link

Slack scroll-up and scroll-down are backwards #97

Closed Grazfather closed 3 years ago

Grazfather commented 3 years ago
(fn scroll-to-bottom
  []
  (windows.set-mouse-cursor-at :Slack)
  (hs.eventtap.scrollWheel [0 -20000] {}))
...
(fn scroll-up
  []
  (scroll-slack -3))

(fn scroll-down
  []
  (scroll-slack 3))

We can see here that scroll-down has a positive direction, while scroll-to-bottom is negative. Clearly these should have the same sign, and it seems that scroll-to-bottom works as expected.

jaidetree commented 3 years ago

Fixed by #102