[NUI] Add OverlayLayer to Window's LayersChildren to calculate Layout
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 20 Apr 2023 05:11:21 +0000 (14:11 +0900)
committerJoogabYun <40262755+JoogabYun@users.noreply.github.com>
Wed, 26 Apr 2023 07:07:45 +0000 (16:07 +0900)
Previously, OverlayLayer was not added to Window's LayersChildren so
Layouts inside the OverlayLayer were not calculated.

Now, OverlayLayer is added to Window's LayerChildren to calculate
Layouts inside the OverlayLayer.

src/Tizen.NUI/src/public/Window/Window.cs

index 8e7f44f..dc80b3f 100755 (executable)
@@ -944,6 +944,7 @@ namespace Tizen.NUI
             {
                 overlayLayer = new Layer(Interop.Window.GetOverlayLayer(SwigCPtr), true);
                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+                LayersChildren?.Add(overlayLayer);
                 overlayLayer.SetWindow(this);
             }
             return overlayLayer;