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

Fix searchbox selection highlighting #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KubeRoot
Copy link

Based on TextBox.xaml from Avalonia.
Fixes search box not showing any indication on what text is selected.

I'm unsure of why this is an issue, when it broke (or if it was never fixed since the Avalonia port), but it seems like the option to set the brushes for the selection was added in 2019 - I'm assuming this was missed at some point when updating Avalonia.
Side note: I noticed the indentation in the file is very inconsistent, but I decided to leave it as is for this and indent the same as adjacent code.

Before:
image

After:
image

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

Successfully merging this pull request may close these issues.

1 participant