[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 6 14:43:45 UTC 2020


 vcl/source/treelist/treelistbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e9fc6925985b6d6f389cce8b856968702aa2f7e2
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Apr 6 14:31:50 2020 +0100
Commit:     Caolán McNamara <caolanm at 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 <caolanm at 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();
     }
 


More information about the Libreoffice-commits mailing list