Skip to content

Commit

Permalink
Unify theme item lookup in Controls and respect default font
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriSizov committed Jan 13, 2022
1 parent d13e0a3 commit 5831956
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 307 deletions.
2 changes: 1 addition & 1 deletion doc/classes/Theme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<argument index="0" name="name" type="String" />
<argument index="1" name="node_type" type="String" />
<description>
Returns the [Font] at [code]name[/code] if the theme has [code]node_type[/code].
Returns the [Font] at [code]name[/code] if the theme has [code]node_type[/code]. If such item does not exist and [member default_font] is set on the theme, the default font will be returned.
</description>
</method>
<method name="get_font_list" qualifiers="const">
Expand Down
Loading

0 comments on commit 5831956

Please sign in to comment.