mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Merge pull request #142 from Vorik-S/main
UIModule关闭的倒计时应该先进行判断原计时器是否销毁,避免多次Hide导致计时器多次添加
This commit is contained in:
@@ -407,6 +407,7 @@ namespace GameLogic
|
||||
|
||||
window.Visible = false;
|
||||
window.IsHide = true;
|
||||
window.CancelHideToCloseTimer();
|
||||
window.HideTimerId = GameModule.Timer.AddTimer((arg) =>
|
||||
{
|
||||
CloseUI(type);
|
||||
|
Reference in New Issue
Block a user