summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorAnders Stenberg <anders.stenberg@gmail.com>2021-04-09 16:49:04 +0200
committerAnders Stenberg <anders.stenberg@gmail.com>2021-04-09 16:49:04 +0200
commit034c48dbeddbd88e88a2b3e45a2eb06ecf90bd81 (patch)
treea1b53663daa8b8fa93ae1d6df2f717f009d3522a /doc/classes
parentba1adc384cc038e5b67fafce98050ce5441e0c45 (diff)
Add missing color argument in forward_canvas_draw_over_viewport example.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorPlugin.xml2
1 files changed, 1 insertions, 1 deletions
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: