From e8edec900c28a87015bc7988ec5d59b640bf5eb2 Mon Sep 17 00:00:00 2001 From: Georgi Baychev Date: Fri, 7 Feb 2020 23:19:16 +0100 Subject: [PATCH] Use the brush instead of the color when adjusting the tab color #2994 --- src/cascadia/TerminalApp/Tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cascadia/TerminalApp/Tab.cpp b/src/cascadia/TerminalApp/Tab.cpp index 4c8f46b4375..e46049cd5b5 100644 --- a/src/cascadia/TerminalApp/Tab.cpp +++ b/src/cascadia/TerminalApp/Tab.cpp @@ -566,7 +566,7 @@ namespace winrt::TerminalApp::implementation // currently if a tab has a custom color, a deselected state is // signified by using the same color with a bit ot transparency tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewItemHeaderBackgroundSelected"), selectedTabBrush); - tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewItemHeaderBackground"), deselectedTabColor); + tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewItemHeaderBackground"), deselectedTabBrush); tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewItemHeaderBackgroundPointerOver"), hoverTabBrush); tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewItemHeaderBackgroundPressed"), selectedTabBrush); tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewItemHeaderForeground"), fontBrush);