From 452e11c14563cea631f29d7b9c41c85ea14c3924 Mon Sep 17 00:00:00 2001 From: codeboss <2422523675@qq.com> Date: Sun, 29 Jun 2025 23:30:04 +0800 Subject: [PATCH] append --- SimsWorld/BehaviorEditor.cpp | 4 ++-- SimsWorld/BehaviorEditor.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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(); /// /// 尺寸测量 ///