Merge pull request #47754 from SonnyBonds/docfix

Add missing color argument in forward_canvas_draw_over_viewport example.
This commit is contained in:
Rémi Verschelde 2021-04-09 17:15:19 +02:00 committed by GitHub
commit 6297a53db4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,7 +214,7 @@
[gdscript]
func forward_canvas_draw_over_viewport(overlay):
# 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):
if event is InputEventMouseMotion: