Fix potential error in RectView.

This commit is contained in:
Relintai 2023-10-13 21:32:36 +02:00
parent 41b06087e1
commit a27c01dbcc

View File

@ -80,6 +80,7 @@ func _draw():
draw_line(Vector2(get_size().x - _rect_scale, get_size().y - rsh), Vector2(get_size().x - _rect_scale, get_size().y), c)
draw_line(Vector2(get_size().x - rsh, get_size().y - _rect_scale), Vector2(get_size().x, get_size().y - _rect_scale), c)
if edited_resource:
edited_resource.editor_draw_additional_background(self)
func refresh() -> void: