mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Dictionary: Serialize empty dict as {} instead of {\n}
Also make sure to always convert multiline dictionaries to a single line for its EditorHelp representation, as multiline values break formatting.
This commit is contained in:
@@ -24,8 +24,7 @@
|
||||
<argument index="0" name="text" type="String" />
|
||||
<argument index="1" name="fonts" type="Font" />
|
||||
<argument index="2" name="size" type="int" />
|
||||
<argument index="3" name="opentype_features" type="Dictionary" default="{
|
||||
}" />
|
||||
<argument index="3" name="opentype_features" type="Dictionary" default="{}" />
|
||||
<argument index="4" name="language" type="String" default="""" />
|
||||
<description>
|
||||
Adds text span and font to draw it.
|
||||
|
||||
Reference in New Issue
Block a user