Change how tools get switched
This commit is contained in:
parent
90374da228
commit
c2301ae9f5
27 changed files with 68 additions and 96 deletions
|
|
@ -19,9 +19,8 @@ DrawingProgramToolType BrushTool::get_type() {
|
|||
return DrawingProgramToolType::BRUSH;
|
||||
}
|
||||
|
||||
void BrushTool::reset_tool() {
|
||||
void BrushTool::switch_tool(DrawingProgramToolType newTool) {
|
||||
commit_stroke();
|
||||
controls.isDrawing = false;
|
||||
}
|
||||
|
||||
bool BrushTool::extensive_point_checking(const Vector2f& newPoint) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue