Skip to content

Commit

Permalink
Update color overrides when scheme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-zamora committed Nov 20, 2024
1 parent c3ad287 commit 9df6b03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/cascadia/TerminalSettingsEditor/Appearances.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
{
_NotifyChanges(L"CurrentColorScheme");
}
else if (viewModelProperty == L"CurrentColorScheme")
{
_NotifyChanges(L"ForegroundPreview", L"BackgroundPreview", L"SelectionBackgroundPreview", L"CursorColorPreview");
}
});

// Cache the original BG image path. If the user clicks "Use desktop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@
<comment>Header for a control to determine the background color of selected text.</comment>
</data>
<data name="Profile_CursorColor.Header" xml:space="preserve">
<value>Color</value>
<value>Cursor color</value>
<comment>Header for a control to determine the color of the cursor.</comment>
</data>
<data name="Profile_Foreground.HelpText" xml:space="preserve">
Expand Down

0 comments on commit 9df6b03

Please sign in to comment.