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

Subsprite cut off too in sprite aligner #6237

Closed
DorpsGek opened this issue Feb 27, 2015 · 2 comments
Closed

Subsprite cut off too in sprite aligner #6237

DorpsGek opened this issue Feb 27, 2015 · 2 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

juzza1 opened the ticket and wrote:

A change in r27134 makes the sprite shown in sprite aligner cut off too much, if the interface size is normal or double. See lines 14-21 in http://hg.openttd.org/openttd/trunk.hg/diff/fb0ff2c97835/src/newgrf_debug_gui.cpp - ScaleByZoom is replaced by UnScaleGUI. Possible typo, as ScaleByZoom is unaffected elsewhere in this revision?

Also attached is a patch that reverts those changes.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6237
@DorpsGek
Copy link
Member Author

juzza1 wrote:

Here is a beautiful image describing the issue, showing the difference in normal, double and quad sized interfaces. Also, ignore the typoed summary text.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/6237#comment13793

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r27137. I replaced the weird SubSprite with the regular clipping method.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6237

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant