TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

Mouse wheel scrolling is reversed on web version

Open Weeppiko opened this issue 2 years ago • 7 comments

Both mouse() API and the editors are affected by this issue

Weeppiko avatar Aug 24 '21 18:08 Weeppiko

This is a duplicate of #713 but that's closed even though it's still an issue

ChildishGiant avatar Aug 25 '21 16:08 ChildishGiant

Can't reproduce it in chrome based browsers, but saw it some time ago on other versions and still think it's a SDL2 lib issue, not a TIC-80 issue.

nesbox avatar Aug 28 '21 13:08 nesbox

i am on ubuntu, can reproduce on both chromium and firefox, most current versions.

my system setting is traditional scrolling, which tic80 locally respects. on both chromium and firefox the webplayer scolling is apple-style/"natural", that is reversed from my system settings.

symbolisch1234 avatar Sep 04 '21 17:09 symbolisch1234

@Weeppiko @ChildishGiant Which native platform is your browser running on? I wonder if this is limited to Linux, etc...

joshgoebel avatar Feb 23 '22 20:02 joshgoebel

https://github.com/nesbox/TIC-80/issues/713#issuecomment-850957926

0.80.1344 on tic80.com Chromium (Including new edge) & Firefox Windows 10

I have a run a dual boot and various browsers and have always noticed this. I can try to replicate again soon.

ChildishGiant avatar Feb 23 '22 22:02 ChildishGiant

I tested this on two Linux machines: In Chromium, scrolling works as expected. In Firefox, scrolling is reversed.

blinry avatar Apr 10 '22 10:04 blinry

I still think this is a sdl2 library bug, but we could find a workaround on the JS side.

nesbox avatar Apr 11 '22 08:04 nesbox