Files
@ r5804:47b810f5c54c
Branch filter:
Location: cpp/openttd-patchpack/source/os/macosx/splash.png - annotation
r5804:47b810f5c54c
19.6 KiB
image/png
(svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and fix two longstanding bugs.
1) If the graph contained negative values, the y axis labels were half the size they should have been.
2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.
1) If the graph contained negative values, the y axis labels were half the size they should have been.
2) If the maximum value was larger than the height of the graph in pixels << 32, all datapoints were scaled to 0.
![](/cpp/openttd-patchpack/source/raw/47b810f5c54c8e063449617fe1991031f6ccb996/os/macosx/splash.png)