Skip to content

Commit dcc15aa

Browse files
committed
Merge pull request #96757 from Giganzo/doc-default-font-size
Fix description of invalid values for `Theme.default_font_size`
2 parents 9fb54b7 + 575a0b4 commit dcc15aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/Theme.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@
551551
</member>
552552
<member name="default_font_size" type="int" setter="set_default_font_size" getter="get_default_font_size" default="-1">
553553
The default font size of this theme resource. Used as the default value when trying to fetch a font size value that doesn't exist in this theme or is in invalid state. If the default font size is also missing or invalid, the engine fallback value is used (see [member ThemeDB.fallback_font_size]).
554-
Values below [code]0[/code] are invalid and can be used to unset the property. Use [method has_default_font_size] to check if this value is valid.
554+
Values below [code]1[/code] are invalid and can be used to unset the property. Use [method has_default_font_size] to check if this value is valid.
555555
</member>
556556
</members>
557557
<constants>

0 commit comments

Comments
 (0)