Skip to content

Commit

Permalink
This fixes #5780, but it _only_ works on MUX 2.4 apparently.
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed May 7, 2020
1 parent 2259016 commit a1e61f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cascadia/TerminalApp/Tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ namespace winrt::TerminalApp::implementation
tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewItemHeaderForegroundSelected"), fontBrush);
tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewItemHeaderForegroundPointerOver"), fontBrush);
tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewItemHeaderForegroundPressed"), fontBrush);
tab->_tabViewItem.Resources().Insert(winrt::box_value(L"TabViewButtonForegroundActiveTab"), fontBrush);

tab->_RefreshVisualState();

Expand Down Expand Up @@ -619,7 +620,8 @@ namespace winrt::TerminalApp::implementation
L"TabViewItemHeaderForegroundSelected",
L"TabViewItemHeaderForegroundPointerOver",
L"TabViewItemHeaderBackgroundPressed",
L"TabViewItemHeaderForegroundPressed"
L"TabViewItemHeaderForegroundPressed",
L"TabViewButtonForegroundActiveTab"
};

// simply clear any of the colors in the tab's dict
Expand Down

0 comments on commit a1e61f3

Please sign in to comment.