Fixed memory issue when using tools

This commit is contained in:
Yousef Khadadeh 2025-12-30 23:12:30 +03:00
parent caf99a8675
commit 9d752af00c
7 changed files with 7 additions and 7 deletions

View file

@ -22,5 +22,5 @@ class TextBoxTool : public DrawingProgramToolBase {
Vector2f startAt;
Vector2f endAt;
int drawStage = 0;
CanvasComponentContainer::ObjInfo* objInfoBeingEdited;
CanvasComponentContainer::ObjInfo* objInfoBeingEdited = nullptr;
};