From 0db270f490c58f0eab8acdd49ec4039a4209385d Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 12 Oct 2023 00:20:04 +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 1fcaaf4..fffb1a7 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 editor_draw_additional_background(control : Control) -> void: - _editor_draw_additional_background(control) +func eitor_draw_additional_background(control : Control) -> void: + _eitor_draw_additional_background(control) -func _editor_draw_additional_background(control : Control) -> void: +func _eitor_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 5e25439..1dcc56e 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.editor_draw_additional_background(self) + edited_resource.eitor_draw_additional_background(self) func refresh() -> void: clear()