Replies: 1 comment
-
The winner is |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the more recent rename tracker for Godot 4.0, it was brought up to rename CanvasItem.
update()
torequest_redraw()
. It's clear that this method's name needs to be urgently changed. In a broader context, especially when extending a CanvasItem Script, the word "update" is vague, andrequest_redraw()
is exactly what the method has been described to do. It's outstandingly meaningful.Personally, I'd prefer to call it
redraw
. It's short and simple likeupdate()
, while still being more meaningful, but it may be misleading, as the redraw is actually done insideNOTIFICATION_DRAW
, that the method schedules to send when a new frame is to be rendered, but this can be explained in the documentation.But regardless,
23 votes ·
Beta Was this translation helpful? Give feedback.
All reactions