turn off dnd target indicator on old target when changing target
Change-Id: Ia1cd181789679fd3f99c791806bd53cb74076556 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89421 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
64ad7b44e3
commit
e0122fc683
1 changed files with 3 additions and 0 deletions
|
@ -129,7 +129,10 @@ public:
|
|||
|
||||
virtual SvTreeListEntry* GetDropTarget(const Point& rPos) override
|
||||
{
|
||||
SvTreeListEntry* pOldTargetEntry = pTargetEntry;
|
||||
pTargetEntry = pImpl->GetEntry(rPos);
|
||||
if (pOldTargetEntry != pTargetEntry)
|
||||
ImplShowTargetEmphasis(pOldTargetEntry, false);
|
||||
|
||||
// scroll
|
||||
if (rPos.Y() < 12)
|
||||
|
|
Loading…
Reference in a new issue