-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Fix theme propagation in various parts of the editor #65210
Fix theme propagation in various parts of the editor #65210
Conversation
IMO, just make sure the theme-related data is set before entering the tree. And Lines 1122 to 1131 in 8c7be63
|
Theme-related data cannot be set before entering the tree, because it is provided by parent controls. Either way, this is unrelated to this series of PRs. We can revisit this when we make another attempt at #62846, as that's where the general systems would be affected. Here I'm improving code quality related to theme propagation, and by that virtue fix the issues. |
dfa0477
to
101c420
Compare
I mean for the propagation code in Lines 3092 to 3098 in c6fd311
|
Yes, that's a good idea and make sense. We can replace It's a bit tricky to do, not a one-to-one conversion, since we would have to perform this action from the child's POV instead of parent's. But I have an idea about that. I'll PR it tomorrow. |
I have made a try in #65222. |
101c420
to
fc7cef8
Compare
Thanks! |
Fixes #65090 (including the issue reported in comments).
Fixes #65114.
Likely fixes #65180.
Follow-up to #65156 and #65192 (depends on both of them, and for the moment includes commits from both of them). In this part we're starting to fix parts of the editor which were exposed by #62845. I'll be targeting specific regressions here, and a more broad code clean-up can happen in a later PR (and by anyone, really, once the first two are merged).
Currently this PR updates the code of:
RichTextLabel
(didn't touchEditorHelp
to fix the docs regression);MaterialEditor
andMeshEditor
;EditorFileDialog
;As well as other small touch ups.
Marking it as a draft for the moment. Feel free to comment with more related theme propagation regressions. (I think @groud said there was something in the tile editor?)