From e1286117d3144c9e52732c774db326f7eee4bebd Mon Sep 17 00:00:00 2001 From: "joogab.yun" Date: Wed, 26 Apr 2023 13:43:57 +0900 Subject: [PATCH] [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. --- src/Tizen.NUI/src/public/Window/Window.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4