Auto switch behavior details panels

This commit is contained in:
2022-04-04 16:52:42 +08:00
parent a23b5d62cc
commit 4d818988f9
2 changed files with 10 additions and 5 deletions
+3 -3
View File
@@ -45,9 +45,9 @@ class BehaviorList extends Component<IBehaviorListProps & IMixinStatusProps & IM
if (this.props.status) {
this.props.status.setBehaviorObject(behavior as Behavior);
}
// if (this.props.setting) {
// this.props.setting.layout.focus("LabelDetails");
// }
if (this.props.setting) {
this.props.setting.layout.focus("BehaviorDetails");
}
this.labelInnerClick = true;
}}
onAdd={() => {