Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cheat window date '<' arrow incremements date #7655

Closed
andythenorth opened this issue Jul 14, 2019 · 3 comments
Closed

Cheat window date '<' arrow incremements date #7655

andythenorth opened this issue Jul 14, 2019 · 3 comments

Comments

@andythenorth
Copy link
Contributor

andythenorth commented Jul 14, 2019

Version of OpenTTD

Reproducible in 1.9.1 (Mac build)

Expected result

Cheat window date control '<' arrow decrements date.

Actual result

Cheat window date control '<' arrow incremements date.

Also applies to max height levels control in cheat window.
I can't repro this for money or company controls in cheat window.

Steps to reproduce

Click the '<' arrow for the date control in the cheat window.
Reproducible at all combinations of 1x ui zoom, 2x ui zoom, 1x font zoom, 2x font zoom

The issue is sensitive to mouse position, moving the mouse further left gets the expected result. However note that the '<' UI control is showing the down state on click, this isn't just a mis-click.

is_it_bug_wow

@nielsmh
Copy link
Contributor

nielsmh commented Jul 14, 2019

Reproduces in 1.9.2 on Windows and on master a52bbb7
(Edit from previous, didn't try hard enough to reproduce on master)

@nielsmh
Copy link
Contributor

nielsmh commented Jul 14, 2019

Lots of code in the cheat window forgets to scale all kinds of coordinates by the UI scale factor.

@Ben79487
Copy link

Can reproduce. Also happens with the "maximum map height" arrow buttons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants