Fixed textbox and screenshot tool issues related to new tool system

This commit is contained in:
Yousef Khadadeh 2025-08-02 21:14:57 +03:00
parent c2301ae9f5
commit c8d8a349aa
4 changed files with 16 additions and 10 deletions

View file

@ -52,6 +52,7 @@ class DrawingProgram {
Vector4f* get_foreground_color_ptr();
void switch_to_tool(DrawingProgramToolType newToolType);
void switch_to_tool_ptr(std::unique_ptr<DrawingProgramToolBase> newTool);
private:
void client_erase_set(std::unordered_set<CollabListType::ObjectInfoPtr> erasedComponents); // The set might be modified while this is being called, so dont pass by reference