summaryrefslogtreecommitdiff
path: root/bin/ai/compat_1.1.nut
diff options
context:
space:
mode:
authorPeterN <peter1138@openttd.org>2021-05-08 21:01:16 +0100
committerGitHub <noreply@github.com>2021-05-08 21:01:16 +0100
commit330a305c99766b2e62541a8956a00b2cbe7bbbe1 (patch)
tree1f95cc246dcbcd7b93466eec91100594a80dd15e /bin/ai/compat_1.1.nut
parentb9ab3bd6b3f28b682bf5e155bf35d7cbb8b8224a (diff)
downloadopenttd-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 'bin/ai/compat_1.1.nut')
0 files changed, 0 insertions, 0 deletions