summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-06 14:31:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-04-06 16:43:02 +0200
commite9fc6925985b6d6f389cce8b856968702aa2f7e2 (patch)
treeccc8cbb8c5b46410d66388ddace42df1b091ce83 /vcl
parent251fbdc642b9c27e9ad467322fb6d4e5c8f76a4c (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/treelist/treelistbox.cxx2
1 files changed, 1 insertions, 1 deletions
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();
}