From acbf4f49271cabdbc282b678c2ccb74d0ddb5c8c Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 15 May 2024 00:55:44 +0200 Subject: [PATCH] Rename update_pressed_state() -> update_pressed() --- sui/src/SuiIconButton.gd | 2 +- sui/src/SuiTextButton.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sui/src/SuiIconButton.gd b/sui/src/SuiIconButton.gd index b181f89..aaa682f 100644 --- a/sui/src/SuiIconButton.gd +++ b/sui/src/SuiIconButton.gd @@ -101,5 +101,5 @@ func update_element() -> void: $Icon.axis_stretch_horizontal = as_horizontal $Icon.axis_stretch_vertical = as_vertical -func update_pressed_state(is_pressed: bool) -> void: +func update_pressed(is_pressed: bool) -> void: $Button.button_pressed = is_pressed diff --git a/sui/src/SuiTextButton.gd b/sui/src/SuiTextButton.gd index 7915312..746c767 100644 --- a/sui/src/SuiTextButton.gd +++ b/sui/src/SuiTextButton.gd @@ -69,5 +69,5 @@ func update_element() -> void: $Text.add_theme_font_size_override("bold_italics_font_size", font_size) $Text.add_theme_font_size_override("mono_font_size", font_size) -func update_pressed_state(is_pressed: bool) -> void: +func update_pressed(is_pressed: bool) -> void: $Button.button_pressed = is_pressed