Let Esc and a click on empty space deselect Design feature and body rows

This commit is contained in:
SoftFever
2026-10-05 02:50:38 +08:00
parent a29e3078e8
commit 4cb6ca7ecb
7 changed files with 36 additions and 5 deletions
+1
View File
@@ -916,6 +916,7 @@ private:
bool m_hl_pending{false};
void request_feature_highlight();
void update_feature_highlight();
bool deselect_rows(); // Esc / a click on nothing: drop the tree and Bodies rows
// Bodies list under the feature tree: one row per body (parallel to m_doc.bodies). Selecting
// one highlights that body and makes it the target for the next op.
DesignRowList* m_parts{nullptr};