Fix hit-test bug when overlay2D child is not overlayed 58/272958/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 28 Mar 2022 10:44:34 +0000 (19:44 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 28 Mar 2022 11:48:03 +0000 (20:48 +0900)
commitae03e08a89391b257701d79ae87b92dec7d950d9
tree27584c123f8a41f503b2990d721a98dfe83ebdef
parentf12f0b19349ffd86d636f850b6e16558f4e90680
Fix hit-test bug when overlay2D child is not overlayed

Let's image some case like below scene tree.
root --- A (overlay2D)  --- A1 (normal)
      |- B (normal)

When A1 and B is overlaped, B will be drawn under the A1. (Because A is overlay)
But, in hit-test-algorithm, overlay2D information doesn't propagated.

This patch make hit-test can propagate overlay2D property,
so the hit test result return reasonable as what we can see.

Change-Id: I123d3bbc2c6ba27df3f10829ebaf16b80eb0f987
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali/utc-Dali-HitTestAlgorithm.cpp
dali/internal/event/events/hit-test-algorithm-impl.cpp