mirror of
https://github.com/Relintai/world_generator_addon.git
synced 2024-11-19 20:47:19 +01:00
Actually fix typo.
This commit is contained in:
parent
3863b2f52d
commit
d2394eb1e9
@ -198,16 +198,16 @@ func get_editor_class() -> String:
|
||||
func get_editor_additional_text() -> String:
|
||||
return ""
|
||||
|
||||
func eitor_draw_additional(control : Control) -> void:
|
||||
_eitor_draw_additional(control)
|
||||
func editor_draw_additional(control : Control) -> void:
|
||||
_editor_draw_additional(control)
|
||||
|
||||
func _eitor_draw_additional(control : Control) -> void:
|
||||
func _editor_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:
|
||||
|
@ -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()
|
||||
|
@ -59,7 +59,7 @@ func _draw():
|
||||
draw_string(font, Vector2(_editor_rect_border_size, font.get_height() * 3), _editor_additional_text, _edited_resource_font_color, get_rect().size.x)
|
||||
|
||||
if edited_resource:
|
||||
edited_resource.eitor_draw_additional(self)
|
||||
edited_resource.editor_draw_additional(self)
|
||||
|
||||
func refresh() -> void:
|
||||
if !edited_resource:
|
||||
|
Loading…
Reference in New Issue
Block a user