Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] Backport non-breaking changes in the Theme resource from master #49487

Merged
merged 3 commits into from
Jun 11, 2021

Conversation

YuriSizov
Copy link
Contributor

@YuriSizov YuriSizov commented Jun 10, 2021

Following changes has been ported:

  1. Add missing type list methods (Remove unused argument in Theme method and expose missing methods #37759) (named *_types to follow get_stylebox_types, renamed in master):

    • Theme.get_color_types() (get_color_type_list in master)
    • Theme.get_constant_types() (get_constant_type_list in master)
    • Theme.get_font_types() (get_font_type_list in master)
    • Theme.get_icon_types() (get_icon_type_list in master)
  2. Add utility methods with all fixes applied (Add utility methods to Theme, improve error messages and documentation #47251, Fix Theme overriding existing theme types with empty #49308):

  3. While Add theme_custom_type property to Control and Window #47544 is not portable due to compatibility breaking fixes, one fix can be ported as it is just a typo.

All changes are split into individual commits related to each backported changeset/PR.

Backport of relevant, non-breaking parts of godotengine#37759
@YuriSizov YuriSizov added this to the 3.4 milestone Jun 10, 2021
@YuriSizov YuriSizov requested review from a team as code owners June 10, 2021 13:39
@YuriSizov YuriSizov changed the title Backport non-breaking changes in the Theme resource from master [3.x] Backport non-breaking changes in the Theme resource from master Jun 10, 2021
@akien-mga akien-mga merged commit e6a6293 into godotengine:3.x Jun 11, 2021
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants