Improve performance for all tools
This commit is contained in:
parent
0a474c16a0
commit
22e04b0ca5
17 changed files with 76 additions and 38 deletions
|
|
@ -38,6 +38,8 @@ class TextBoxTool : public DrawingProgramToolBase {
|
|||
virtual void input_mouse_button_on_canvas_callback(const InputManager::MouseButtonCallbackArgs& button) override;
|
||||
virtual void input_mouse_motion_callback(const InputManager::MouseMotionCallbackArgs& motion) override;
|
||||
private:
|
||||
bool commitUpdate = false;
|
||||
|
||||
void commit();
|
||||
void make_sure_textbox_is_big();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue