From f26e793ac4e3b65837ed9d6122d8b6f9fba1250c Mon Sep 17 00:00:00 2001 From: dongsug-song <35130733+dongsug-song@users.noreply.github.com> Date: Wed, 29 Jul 2020 11:17:10 +0900 Subject: [PATCH] [NUI] Workaround : Fix TCT fail issue (#1865) --- src/Tizen.NUI/src/public/WindowEvent.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Tizen.NUI/src/public/WindowEvent.cs b/src/Tizen.NUI/src/public/WindowEvent.cs index 93fec0f..3189b37 100755 --- a/src/Tizen.NUI/src/public/WindowEvent.cs +++ b/src/Tizen.NUI/src/public/WindowEvent.cs @@ -650,9 +650,14 @@ namespace Tizen.NUI private void OnResized(IntPtr windowSize) { ResizedEventArgs e = new ResizedEventArgs(); - var val = new Uint16Pair(windowSize, false); - e.WindowSize = new Size2D(val.GetWidth(), val.GetHeight()); - val.Dispose(); + // var val = new Uint16Pair(windowSize, false); + // e.WindowSize = new Size2D(val.GetWidth(), val.GetHeight()); + // val.Dispose(); + + // Workaround : windowSize should be valid pointer from dali, + // but currenlty it is fixed and is not Uint16Pair class. + // will be fixed later. + e.WindowSize = this.WindowSize; if (_windowResizedEventHandler != null) { -- 2.7.4