From 034c48dbeddbd88e88a2b3e45a2eb06ecf90bd81 Mon Sep 17 00:00:00 2001 From: Anders Stenberg Date: Fri, 9 Apr 2021 16:49:04 +0200 Subject: Add missing color argument in forward_canvas_draw_over_viewport example. --- doc/classes/EditorPlugin.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/classes') diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml index 8dcffb0b74..61f1761249 100644 --- a/doc/classes/EditorPlugin.xml +++ b/doc/classes/EditorPlugin.xml @@ -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: -- cgit v1.2.3