Skip to content

Commit

Permalink
I suppose this should have been in the parent commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed Mar 24, 2021
1 parent 72c35a8 commit 541d151
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/cascadia/TerminalControl/ControlInteractivity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ namespace winrt::Microsoft::Terminal::Control::implementation
_core = winrt::make_self<ControlCore>(settings, connection);
}

void ControlInteractivity::UpdateSettings()
{
_UpdateSystemParameterSettings();
}

// Method Description:
// - Returns the number of clicks that occurred (double and triple click support).
// Every call to this function registers a click.
Expand Down
1 change: 1 addition & 0 deletions src/cascadia/TerminalControl/ControlInteractivity.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
TerminalConnection::ITerminalConnection connection);

void GainFocus();
void UpdateSettings();

/////////////////////// From Control
winrt::com_ptr<ControlCore> _core{ nullptr };
Expand Down
2 changes: 1 addition & 1 deletion src/cascadia/TerminalControl/TermControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
ScrollBar().Visibility(Visibility::Visible);
}

_UpdateSystemParameterSettings();
_interactivity->UpdateSettings();
}

// Method Description:
Expand Down

1 comment on commit 541d151

@github-actions

This comment was marked as outdated.

Please sign in to comment.