Skip to content

Fix TitleBarButton Foreground error when change theme#1005

Merged
pomianowski merged 1 commit intolepoco:developmentfrom
seasonyuu:development
Mar 18, 2024
Merged

Fix TitleBarButton Foreground error when change theme#1005
pomianowski merged 1 commit intolepoco:developmentfrom
seasonyuu:development

Conversation

@seasonyuu
Copy link
Copy Markdown
Contributor

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?

image

While changing theme between light and dark, the TitleBarButton Foreground not following the updated theme.

Issue Number: #993 (comment) reported by @koal44

What is the new behavior?

image
image

  • Use RenderButtonsForeground as canvas fill color
  • Listen ButtonsForeground change, to make change after theme color changed.

Other information

@seasonyuu seasonyuu requested a review from pomianowski as a code owner March 18, 2024 08:30
@pomianowski pomianowski merged commit c7dc782 into lepoco:development Mar 18, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants