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