summaryrefslogtreecommitdiff
path: root/editor/icons/PlayCustom.svg
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2022-10-08 11:33:50 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2022-10-08 11:33:50 +0800
commit344ed9ec6ca8fd7ed78b5b2d309b52f570256ffa (patch)
tree5c6405cd0219d4dc8bbe32cd2491092c49cdae3a /editor/icons/PlayCustom.svg
parent18177828ad97286ca88cbdcfb763c967858d051b (diff)
Remove leading spaces from enumerator name hints
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as a comma separated list. There're a few properties that add leading spaces to the names (e.g. `First, Second, Third`). These spaces are included in the Inspector dropdown, which is unexpected. It's better to leave the surrounding spaces untouched because it could be part of the resulting string value (the variable is a string enum). And most other enum hints don't contain surrounding whitespaces. This PR removes the spaces and documents this `PROPERTY_HINT_ENUM` behavior.
Diffstat (limited to 'editor/icons/PlayCustom.svg')
0 files changed, 0 insertions, 0 deletions