diary/user_interface/utility_controls/separation_line.gd
2022-06-05 14:22:08 +02:00

14 lines
193 B
GDScript

tool
extends Control
func _draw():
draw_line(
Vector2(0.0, get_rect().size.y * 0.5),
Vector2(get_rect().size.x, get_rect().size.y * 0.5),
Color.white
)
func _on_resized():
update()