Added stroke color edit to selection tools

This commit is contained in:
Yousef Khadadeh 2026-04-04 20:55:19 +03:00
parent c85fdbb61f
commit 266e218e2f
4 changed files with 24 additions and 9 deletions

View file

@ -101,6 +101,7 @@ void LassoSelectTool::input_mouse_button_on_canvas_callback(const InputManager::
drawP.selection.deselect_all();
}
controls.isSelecting = false;
drawP.world.main.g.gui.set_to_layout();
}
}

View file

@ -61,6 +61,7 @@ void RectSelectTool::input_mouse_button_on_canvas_callback(const InputManager::M
}
controls.isSelecting = false;
drawP.world.main.g.gui.set_to_layout();
}
}

View file

@ -25,7 +25,7 @@ void TextBoxTool::gui_toolbox() {
Toolbar& t = drawP.world.main.toolbar;
auto& gui = drawP.world.main.g.gui;
gui.new_id("textbox tool", [&] {
GUIStuff::ElementHelpers::text_label_centered(gui, "Zoom tool");
GUIStuff::ElementHelpers::text_label_centered(gui, "Place textbox");
});
}