Edit/Cursor tool can now select objects, and edit them by double clicking

This commit is contained in:
Yousef Khadadeh 2025-09-29 11:39:00 +03:00
parent 3f7f2347d0
commit 56b3c27401
5 changed files with 68 additions and 19 deletions

View file

@ -42,7 +42,7 @@ void LassoSelectTool::gui_toolbox() {
}
void LassoSelectTool::switch_tool(DrawingProgramToolType newTool) {
if(newTool != DrawingProgramToolType::RECTSELECT && newTool != DrawingProgramToolType::LASSOSELECT)
if(newTool != DrawingProgramToolType::RECTSELECT && newTool != DrawingProgramToolType::LASSOSELECT && newTool != DrawingProgramToolType::EDIT)
drawP.selection.deselect_all();
}