Fix ClearHighlight() for custom highlight frames 07/255307/2
authorArtur Świgoń <a.swigon@samsung.com>
Tue, 16 Mar 2021 13:52:48 +0000 (14:52 +0100)
committerArtur Świgoń <a.swigon@samsung.com>
Thu, 18 Mar 2021 15:51:38 +0000 (16:51 +0100)
commit28201d8703eab20e089cc517f6187db223512447
tree3b079a8ce575ef5f0639588e81de8ceb8395a75d
parent2181d2ac56e0efca21307dd75b1ecc46bee57b9f
Fix ClearHighlight() for custom highlight frames

ClearHighlight() used GetHighlightActor() to retrieve the currently
displayed highlight frame in order to determine which actor to remove
from the scene graph. However, it is perfectly legal to
SetHighlightActor() while a highlight frame is displayed (takes effect
on the next GrabHighlight()), so the currently visible highlight frame
handle needs to be saved separately in order to be properly cleared.

Change-Id: Ibf41574bac66f9375b72b31d061195d0235621aa
dali-toolkit/devel-api/controls/accessible-impl.cpp
dali-toolkit/devel-api/controls/accessible-impl.h