Skip to content

Commit

Permalink
Fix below what value is invalid in default_font_size doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Giganzo committed Sep 9, 2024
1 parent d0dc389 commit 575a0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Theme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@
</member>
<member name="default_font_size" type="int" setter="set_default_font_size" getter="get_default_font_size" default="-1">
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]).
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.
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.
</member>
</members>
<constants>
Expand Down

0 comments on commit 575a0b4

Please sign in to comment.