[NUI] When hiding the overlaid border, the timer is also initialized.
authorjoogab.yun <joogab.yun@samsung.com>
Tue, 5 Jul 2022 07:07:19 +0000 (16:07 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Tue, 12 Jul 2022 02:41:27 +0000 (11:41 +0900)
If the timer is not initialized, the border will not be visible when OverlayBorderShoew is performed again while the timer is alive.

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

index 200f4c6..672f5f1 100755 (executable)
@@ -879,6 +879,9 @@ namespace Tizen.NUI
             if (BorderWindow != null && BorderWindow.IsMaximized())
             {
                 borderView?.Hide();
+                overlayTimer?.Stop();
+                overlayTimer?.Dispose();
+                overlayTimer = null;
                 return true;
             }
             return false;