[0.15.10] Scroll-wheel on Advanced Settings ineffective

This subforum contains all the issues which we already resolved.
Post Reply
doktorstick
Fast Inserter
Fast Inserter
Posts: 152
Joined: Fri Aug 12, 2016 10:22 pm
Contact:

[0.15.10] Scroll-wheel on Advanced Settings ineffective

Post by doktorstick »

I would expect the scroll wheel to increase the sliders by 1 gradient, but it's all over the map depending on the scrollbar you scroll. For instance, the Evolution scroll bars all jump between 0 and their respective maximum values. Maximum expansion distance is especially wonky. The default is 7. Here's the pattern from scrolling the indicated direction one scroll gradient--up to 9, up to 10, down 8, up to 10, down to 9, down to 7, and so on.

Paul17041993
Inserter
Inserter
Posts: 36
Joined: Fri Nov 25, 2016 4:26 am
Contact:

Re: [0.15.10] Scroll-wheel on Advanced Settings ineffective

Post by Paul17041993 »

Does the value/results change if you change your 'lines scrolled' setting in your OS? I'm wondering if the scroll value that the OS is sending is too high, thus causing this sort of behaviour.

If that's the case the solution is to either apply a division to the value given or to grab the scrolled value differently, I don't know what window API factorio uses but chances are there's two values you can grab ('pixels scrolled' and 'wheel motion' possibly).

edit; if using SDL, the values you get from sdlEvent.wheel.xy are absolute in wheel ticks.
Please be sure you've googled your question before asking me about code... :T

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15.10] Scroll-wheel on Advanced Settings ineffective

Post by kovarex »

Fixed for 0.15.11

Post Reply

Return to “Resolved Problems and Bugs”