You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-27 15:57:02 +00:00
Add missing color argument in forward_canvas_draw_over_viewport example.
This commit is contained in:
@@ -214,7 +214,7 @@
|
|||||||
[gdscript]
|
[gdscript]
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user