vcl/source/treelist/treelistbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e9fc6925985b6d6f389cce8b856968702aa2f7e2 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Apr 6 14:31:50 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Apr 6 16:43:02 2020 +0200 highlight the top of the drop target row instead of the bottom Change-Id: I5e3dcbb72d23ddb322347efe596902c7d6efc44c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91751 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 274b61b906b5..9e23479518a9 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -2772,7 +2772,7 @@ void SvTreeListBox::PaintEntry1(SvTreeListEntry& rEntry, long nLine, vcl::Render rRenderContext.Push(); rRenderContext.SetLineColor(rSettings.GetDeactiveColor()); rRenderContext.SetFillColor(rSettings.GetDeactiveColor()); - rRenderContext.DrawRect(tools::Rectangle(Point(0, nLine + nTempEntryHeight - 2), Size(nWidth, 2))); + rRenderContext.DrawRect(tools::Rectangle(Point(0, nLine), Size(nWidth, 2))); rRenderContext.Pop(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits