Selective cache update goes a bit beyond its bounds, and also made sure that you can't edit objects to be too thin/small

This commit is contained in:
Yousef Khadadeh 2025-08-03 13:04:07 +03:00
parent 81ac5a2302
commit 7bfa2798a5
3 changed files with 18 additions and 5 deletions

View file

@ -13,6 +13,7 @@ class EditTool : public DrawingProgramToolBase {
Vector2f* p;
Vector2f* min;
Vector2f* max;
float minimumDistanceBetweenBoundsAndPoint = 1.0f;
};
EditTool(DrawingProgram& initDrawP);