diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-30 14:47:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 14:47:41 +0200 |
commit | ae349d82277e85ca348fd3da2ff4ad7c7033c8e6 (patch) | |
tree | 40f97716ca0c62026d859357ed2e58b3bec46d17 /scene/main/canvas_item.h | |
parent | 733d04f72780eb474f6b52add57a635bba34530f (diff) | |
parent | e31bb5ffeb279f704cff1963c2650df7ad3ecdd6 (diff) |
Merge pull request #64377 from Mickeon/rename-canvas-redraw
Rename `CanvasItem.update()` to `queue_redraw()`
Diffstat (limited to 'scene/main/canvas_item.h')
-rw-r--r-- | scene/main/canvas_item.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/canvas_item.h b/scene/main/canvas_item.h index 1e0d4552ce..1abb4edec9 100644 --- a/scene/main/canvas_item.h +++ b/scene/main/canvas_item.h @@ -110,7 +110,7 @@ private: void _propagate_visibility_changed(bool p_parent_visible_in_tree); void _handle_visibility_change(bool p_visible); - void _update_callback(); + void _redraw_callback(); void _enter_canvas(); void _exit_canvas(); @@ -197,7 +197,7 @@ public: void show(); void hide(); - void update(); + void queue_redraw(); void set_clip_children(bool p_enabled); bool is_clipping_children() const; |