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

ApplicationManager.ApplySystemTheme UpdateAccent fix #994

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

SamKr
Copy link
Contributor

@SamKr SamKr commented Mar 13, 2024

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

Because the updateAccent isn't forwarded in ApplicationThemeManager.ApplySystemTheme (row 236) to ApplicationThemeManager.Apply, it defaults to true.

What is the new behavior?

Correctly forwards the set updateAccent flag.

Other information

Losely related to #965.

The UpdateAccent flag wasn't set for ApplicationThemeManager.Apply when being triggered from ApplicationThemeManager.ApplySystemTheme, making it default to true.
@SamKr SamKr requested a review from pomianowski as a code owner March 13, 2024 10:28
@pomianowski pomianowski self-assigned this Mar 13, 2024
@pomianowski pomianowski added the bug Something isn't working label Mar 13, 2024
@pomianowski pomianowski merged commit ad3215d into lepoco:development Mar 13, 2024
1 of 2 checks passed
@SamKr SamKr deleted the SamKr-dev-accent-patch branch March 13, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ApplicationAccentColorManager.Apply not applying properly on all controls, only on mouseover.
2 participants