From: joogab.yun Date: Wed, 26 Apr 2023 04:43:57 +0000 (+0900) Subject: [NUI] Change the call to GetRootLayer() so that the layer index can be updated. X-Git-Tag: submit/tizen_7.0/20230426.050908~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1286117d3144c9e52732c774db326f7eee4bebd;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Change the call to GetRootLayer() so that the layer index can be updated. If the root layer index is not updated and another layer is added first, a problem occurs in calculating the layer index. Something like LowerBelow may not work. --- diff --git a/src/Tizen.NUI/src/public/Window/Window.cs b/src/Tizen.NUI/src/public/Window/Window.cs index dc80b3f..f844968 100755 --- a/src/Tizen.NUI/src/public/Window/Window.cs +++ b/src/Tizen.NUI/src/public/Window/Window.cs @@ -1383,7 +1383,7 @@ namespace Tizen.NUI if (isBorderWindow) { - Interop.Actor.Add(GetBorderWindowRootLayer().SwigCPtr, layer.SwigCPtr); + Interop.Actor.Add(GetRootLayer().SwigCPtr, layer.SwigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } } else