From 646904c3c293a72660360440a0e2610eaaef98ec Mon Sep 17 00:00:00 2001 From: Dustin Howett Date: Mon, 24 May 2021 17:35:18 -0500 Subject: [PATCH] Fix a bad backport in a3de0d0ec --- src/cascadia/TerminalApp/TerminalPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cascadia/TerminalApp/TerminalPage.cpp b/src/cascadia/TerminalApp/TerminalPage.cpp index 0fd0bbe2085..d3d32618604 100644 --- a/src/cascadia/TerminalApp/TerminalPage.cpp +++ b/src/cascadia/TerminalApp/TerminalPage.cpp @@ -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); }