Skip to content

Commit

Permalink
Fix code formatting errors microsoft#2994
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaychev committed Jan 6, 2020
1 parent 1cf9407 commit 1487ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/cascadia/TerminalApp/Tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ void Tab::Initialize(const TermControl& control)
_CreateContextMenu();
}


// Method Description:
// - Attempts to update the settings of this tab's tree of panes.
// Arguments:
Expand Down Expand Up @@ -421,7 +420,7 @@ void Tab::_CreateContextMenu()
_tabColorPickup.ColorSelected([weakThis](auto newTabColor) {
if (auto tab{ weakThis.lock() })
{
tab->_SetTabColor(newTabColor);
tab->_SetTabColor(newTabColor);
}
});

Expand Down
2 changes: 1 addition & 1 deletion src/cascadia/TerminalApp/Tab.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Tab : public std::enable_shared_from_this<Tab>
void _SetTabColor(const winrt::Windows::UI::Color& color);
void _ResetTabColor();
void _RefreshVisualState();

void _BindEventHandlers(const winrt::Microsoft::Terminal::TerminalControl::TermControl& control) noexcept;

void _AttachEventHandlersToControl(const winrt::Microsoft::Terminal::TerminalControl::TermControl& control);
Expand Down

0 comments on commit 1487ffe

Please sign in to comment.