From 30bf5b92d6cd134eba466fa042ed2d7f933e7950 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 8 Oct 2023 15:01:30 +0200 Subject: [PATCH] Fix typo. --- addons/world_generator/resources/world_gen_base_resource.gd | 6 +++--- addons/world_generator/ui/RectView.gd | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/world_generator/resources/world_gen_base_resource.gd b/addons/world_generator/resources/world_gen_base_resource.gd index fffb1a7..1fcaaf4 100644 --- a/addons/world_generator/resources/world_gen_base_resource.gd +++ b/addons/world_generator/resources/world_gen_base_resource.gd @@ -204,10 +204,10 @@ func eitor_draw_additional(control : Control) -> void: func _eitor_draw_additional(control : Control) -> void: pass -func eitor_draw_additional_background(control : Control) -> void: - _eitor_draw_additional_background(control) +func editor_draw_additional_background(control : Control) -> void: + _editor_draw_additional_background(control) -func _eitor_draw_additional_background(control : Control) -> void: +func _editor_draw_additional_background(control : Control) -> void: pass func setup_property_inspector(inspector) -> void: diff --git a/addons/world_generator/ui/RectView.gd b/addons/world_generator/ui/RectView.gd index 1dcc56e..5e25439 100644 --- a/addons/world_generator/ui/RectView.gd +++ b/addons/world_generator/ui/RectView.gd @@ -80,7 +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) - edited_resource.eitor_draw_additional_background(self) + edited_resource.editor_draw_additional_background(self) func refresh() -> void: clear()