-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Theme system fixes and additions #19984
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
Conversation
section.Get("PopupStyleFg", &info.uPopupStyleBg, info.uItemStyleFg); // Backwards compat | ||
section.Get("PopupStyleFg", &info.uPopupStyleFg, info.uItemStyleFg); // Backwards compat | ||
section.Get("PopupStyleBg", &info.uPopupStyleBg, info.uPopupStyleBg); | ||
section.Get("PopupHeaderStyleFg", &info.uPopupHeaderStyleFg, info.uItemStyleFg); // Backwards compat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment mentions backwards compatibility but in that case these should be called PopupTitle*
not PopupHeader*
. Please clarify whether the new naming is intended or a mistake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reference 9547deb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well it means backwards compatibility to what was before this change. I like PopupHeader better, and there are not a lot of old themes floating around really.
Fixes part of #18802 , by implementing some of @NABN00B 's more recent suggestions. See commits for details.