View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021148 | AI War 2 | GUI | Apr 26, 2019 8:02 pm | Apr 30, 2019 12:56 pm | |
Reporter | BadgerBadger | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | BETA 0.854 Garbage... Collected! | ||||
Fixed in Version | BETA 0.855 Galactic Markings | ||||
Summary | 0021148: Mouse wheel scrolling (for zoom) is reversed | ||||
Description | Previously I would scroll up to zoom in and down to zoom out. It's now reversed. | ||||
Tags | No tags attached. | ||||
|
It might be worth having a setting for which direction to mouse-wheel scroll to zoom in or out |
|
Did you have any hardware changes? If not, I'm wondering if this is something that is unity+linux specific. IIRC the scrolling is still fine for me, but I'll check. At any rate, a toggle for the direction would be easy and make sense. |
|
Yeah, scrolling wasn't reversed on OSX, only my linux machine. Toggle for direction is a fine solution. If you wanna tell me which file/class we do the scrolling stuff in then I can get to it later, unless it's that easy for you to do. |
|
It should be relatively quick for me to do, and it's in some odd places I'll have to look up. Finding the places will pretty much have the fix as I go. One question, though: when using your scrollwheel on your linux machine in dropdown lists and other things that have a scrollbar, is that also backwards? The answer may be different for dropdowns versus other kinds of scrollbars. I can either fix all at once or just the actual game zoom if that's the only thing. |
|
I think it's also backwards for the dropdown lists. |
|
Turns out this is a bug in the latest version of unity: https://issuetracker.unity3d.com/issues/linux-input-dot-mousescrolldelta-returns-reversed-values-in-linux-player We can work around it, though, as stated above. |
|
Thanks! * Added a new "Invert Mouse Zoom" setting in the All Cameras section. ** Normally when you spin the mouse wheel forward, you zoom closer; backwards zooms you away. This lets you flip that functionality. OR, in the case that your hardware or OS is inverted for whatever reason, this lets you correct it to work like everyone else. ** There is a bug in Unity 2019.1 on linux machines that causes mouse scrolling to be inverted, so this lets us work around that: https://issuetracker.unity3d.com/issues/linux-input-dot-mousescrolldelta-returns-reversed-values-in-linux-player ** Note that this won't help with inverted scrolling with dropdowns and other scrolling areas, unfortunately. |
Date Modified | Username | Field | Change |
---|---|---|---|
Apr 26, 2019 8:02 pm | BadgerBadger | New Issue | |
Apr 26, 2019 8:02 pm | BadgerBadger | Status | new => assigned |
Apr 26, 2019 8:02 pm | BadgerBadger | Assigned To | => Chris_McElligottPark |
Apr 29, 2019 10:20 am | BadgerBadger | Note Added: 0051443 | |
Apr 29, 2019 10:54 am | Chris_McElligottPark | Note Added: 0051447 | |
Apr 29, 2019 10:59 am | BadgerBadger | Note Added: 0051449 | |
Apr 29, 2019 10:59 am | BadgerBadger | Note Edited: 0051449 | |
Apr 29, 2019 11:02 am | Chris_McElligottPark | Note Added: 0051450 | |
Apr 29, 2019 1:39 pm | BadgerBadger | Note Added: 0051459 | |
Apr 30, 2019 12:31 pm | Chris_McElligottPark | Note Added: 0051466 | |
Apr 30, 2019 12:56 pm | Chris_McElligottPark | Status | assigned => resolved |
Apr 30, 2019 12:56 pm | Chris_McElligottPark | Resolution | open => fixed |
Apr 30, 2019 12:56 pm | Chris_McElligottPark | Fixed in Version | => BETA 0.855 Galactic Markings |
Apr 30, 2019 12:56 pm | Chris_McElligottPark | Note Added: 0051467 |