diff --git a/SimsWorld/BehaviorEditor.cpp b/SimsWorld/BehaviorEditor.cpp index 9341290..ce9d42c 100644 --- a/SimsWorld/BehaviorEditor.cpp +++ b/SimsWorld/BehaviorEditor.cpp @@ -34,7 +34,7 @@ void BehaviorsPresent::setRoot(std::shared_ptr root) _present_peers.clear(); this->_bind_maproot = root; - contentRelayout(); + relayout(); } void BehaviorsPresent::presentAllocate(std::shared_ptr ins) @@ -80,7 +80,7 @@ void BehaviorsPresent::presentRelease(std::shared_ptr ins) } } -void BehaviorsPresent::contentRelayout() +void BehaviorsPresent::relayout() { if (!_bind_maproot) return; diff --git a/SimsWorld/BehaviorEditor.h b/SimsWorld/BehaviorEditor.h index ad598ab..1dbf546 100644 --- a/SimsWorld/BehaviorEditor.h +++ b/SimsWorld/BehaviorEditor.h @@ -60,7 +60,7 @@ public: /// /// 内容重新布局 /// - void contentRelayout(); + void relayout(); /// /// 尺寸测量 ///