mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 02:09:05 +00:00
Fix textviewer highlighting
This commit is contained in:
@@ -45,8 +45,9 @@ namespace QuickLook.Plugin.TextViewer
|
||||
{
|
||||
_context = context;
|
||||
|
||||
SetResourceReference(Control.ForegroundProperty, "WindowTextForeground");
|
||||
Background = Brushes.Transparent;
|
||||
Background = OSThemeHelper.AppsUseDarkTheme()
|
||||
? new SolidColorBrush(Color.FromArgb(150, 255, 255, 255))
|
||||
: Brushes.Transparent;
|
||||
FontSize = 14;
|
||||
ShowLineNumbers = true;
|
||||
WordWrap = true;
|
||||
|
Reference in New Issue
Block a user