Add missing color argument in forward_canvas_draw_over_viewport example.

(cherry picked from commit 034c48dbed)
This commit is contained in:
Anders Stenberg 2021-04-09 16:49:04 +02:00 committed by Rémi Verschelde
parent 14cea66f23
commit c4f941114c
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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: