mirror of
https://github.com/Relintai/world_generator_addon.git
synced 2024-11-19 20:47:19 +01:00
Fix potential error in RectView.
This commit is contained in:
parent
41b06087e1
commit
a27c01dbcc
@ -80,7 +80,8 @@ 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 - _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)
|
draw_line(Vector2(get_size().x - rsh, get_size().y - _rect_scale), Vector2(get_size().x, get_size().y - _rect_scale), c)
|
||||||
|
|
||||||
edited_resource.editor_draw_additional_background(self)
|
if edited_resource:
|
||||||
|
edited_resource.editor_draw_additional_background(self)
|
||||||
|
|
||||||
func refresh() -> void:
|
func refresh() -> void:
|
||||||
clear()
|
clear()
|
||||||
|
Loading…
Reference in New Issue
Block a user