From c4f941114cc06f3b320af4963089660da5ec41cb Mon Sep 17 00:00:00 2001 From: Anders Stenberg Date: Fri, 9 Apr 2021 16:49:04 +0200 Subject: [PATCH] Add missing color argument in forward_canvas_draw_over_viewport example. (cherry picked from commit 034c48dbeddbd88e88a2b3e45a2eb06ecf90bd81) --- doc/classes/EditorPlugin.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml index 5aca7d49715..75c439ee28b 100644 --- a/doc/classes/EditorPlugin.xml +++ b/doc/classes/EditorPlugin.xml @@ -199,7 +199,7 @@ [codeblock] 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: