diff options
author | PeterN <peter1138@openttd.org> | 2021-05-08 21:01:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-08 21:01:16 +0100 |
commit | 330a305c99766b2e62541a8956a00b2cbe7bbbe1 (patch) | |
tree | 1f95cc246dcbcd7b93466eec91100594a80dd15e /src/settings_internal.h | |
parent | b9ab3bd6b3f28b682bf5e155bf35d7cbb8b8224a (diff) | |
download | openttd-330a305c99766b2e62541a8956a00b2cbe7bbbe1.tar.xz |
Fix: Apply unscaled padding to Viewport inside WWT_INSET. (#9219)
Since pixel dimensions in SetPadding() are scaled by GUI size, padding for inset viewports was excessive.
Instead, automatically apply padding for WWT_INSET at widget level. This applies to all widgets inside a WWT_INSET, which in all instances is a NWID_VIEWPORT.
Diffstat (limited to 'src/settings_internal.h')
0 files changed, 0 insertions, 0 deletions