diff options
author | Rindbee <idleman@yeah.net> | 2022-08-12 19:39:22 +0800 |
---|---|---|
committer | Rindbee <idleman@yeah.net> | 2022-08-12 19:57:08 +0800 |
commit | 4a3a15c30433f1c9b28873a74c23bec6564a3bc8 (patch) | |
tree | 4c5895554974929b6a4fa6975084f2d0f1b681ba /scene/resources/bit_map.cpp | |
parent | 67d40155206e7c15575ec9bd5b609075784ed746 (diff) |
Fix case where `h_separation` might not work in `Button`
This patch mainly solves two things:
1. The typo of `h_separation`;
2. Negative values of `h_separation` will be treated as `0` when used, to prevent the button's minimum `width` from being reduced by `h_separation`.
Diffstat (limited to 'scene/resources/bit_map.cpp')
0 files changed, 0 insertions, 0 deletions