Przeglądaj źródła

Nested先于父节点报错修改

zhenglijun 1 tydzień temu
rodzic
commit
2e3ce1f456

+ 1 - 1
Assets/Scripts/Framework/Runtime/UI/View/Impl/UIView.cs

@@ -32,8 +32,8 @@ namespace XGame.Framework.UI
             if (Active) return;
             Active = true;
             _panel.SetActive(true);
-            _ctrlGroup.Enable(intent);
             (_viewModel as IUIVMInternal).EnableChildren(intent);
+            _ctrlGroup.Enable(intent);
         }
         void IUIView.Disable()
         {