mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-27 23:59:37 -05:00
Let Esc and a click on empty space deselect Design feature and body rows
This commit is contained in:
1 parent
a29e3078e8
commit
4cb6ca7ecb
7 files changed
+36
-5
No files matched your search
@@ -899,6 +899,11 @@ void DesignCanvas::set_on_solid_selection_changed(std::function<void(int, int, i
|
||||
};
|
||||
}
|
||||
|
||||
void DesignCanvas::set_on_empty_pick(std::function<void()> cb)
|
||||
{
|
||||
m_sketch_tool.on_empty_pick = std::move(cb);
|
||||
}
|
||||
|
||||
void DesignCanvas::select_body(int body)
|
||||
{
|
||||
m_sketch_tool.select_body(body);
|
||||
|
||||
Reference in new issue
Block a user