vcl/source/app/salvtables.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit a0a817e78b33a6e52327f0ce3f8da48f35db1fb5 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Mar 20 09:51:40 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Mar 20 13:56:48 2020 +0100 ScrollToAbsPos is better than ScrollOutputArea ScrollOutputArea has embedded flickering Update calls in it Change-Id: I42f42c4a2c9057d3f1689a20244f9f070931f43b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90777 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 0e4908e8fdb6..c0f203df68bd 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -4519,9 +4519,7 @@ public: virtual void vadjustment_set_value(int nValue) override { - ScrollBar* pVertScrollBar = m_xTreeView->GetVScroll(); - auto nDelta = pVertScrollBar->GetThumbPos() - nValue; - m_xTreeView->ScrollOutputArea(nDelta); + m_xTreeView->ScrollToAbsPos(nValue); } virtual ~SalInstanceTreeView() override _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits