Skip to content

Commit

Permalink
Fix a bad backport in a3de0d0
Browse files Browse the repository at this point in the history
  • Loading branch information
DHowett committed May 24, 2021
1 parent cb4c4f7 commit 646904c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalApp/TerminalPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ namespace winrt::TerminalApp::implementation
{
if (const auto& control{ _GetActiveControl() })
{
const auto termHeight = control.ViewHeight();
const auto termHeight = control.GetViewHeight();
auto scrollDelta = _ComputeScrollDelta(scrollDirection, termHeight);
terminalTab->Scroll(scrollDelta);
}
Expand Down

0 comments on commit 646904c

Please sign in to comment.