Add missing color argument in forward_canvas_draw_over_viewport example.
(cherry picked from commit 034c48dbed
)
This commit is contained in:
parent
14cea66f23
commit
c4f941114c
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@
|
||||||
[codeblock]
|
[codeblock]
|
||||||
func forward_canvas_draw_over_viewport(overlay):
|
func forward_canvas_draw_over_viewport(overlay):
|
||||||
# Draw a circle at cursor position.
|
# Draw a circle at cursor position.
|
||||||
overlay.draw_circle(overlay.get_local_mouse_position(), 64)
|
overlay.draw_circle(overlay.get_local_mouse_position(), 64, Color.white)
|
||||||
|
|
||||||
func forward_canvas_gui_input(event):
|
func forward_canvas_gui_input(event):
|
||||||
if event is InputEventMouseMotion:
|
if event is InputEventMouseMotion:
|
||||||
|
|
Loading…
Reference in a new issue