ENH: support text modify

Change-Id: Ide5a3c7df5f3ea4395821a65807d79b459f3e46e
(cherry picked from commit 55de44d4c80c545de14466aa039a7b0ac144f395)
This commit is contained in:
zhimin.zeng 2022-12-16 12:57:46 +08:00 committed by Lane.Wei
parent e70253cf25
commit 1c5c9bd3d2
6 changed files with 148 additions and 11 deletions

View file

@ -1501,7 +1501,7 @@ void GLGizmosManager::update_on_off_state(const Vec2d& mouse_pos)
if (idx != Undefined && m_gizmos[idx]->is_activable() && m_hover == idx) {
activate_gizmo(m_current == idx ? Undefined : (EType)idx);
// BBS
wxGetApp().obj_list()->select_object_item((EType)idx <= Scale);
wxGetApp().obj_list()->select_object_item((EType) idx <= Scale || (EType) idx == Text);
}
}