Rename update_pressed_state() -> update_pressed()

This commit is contained in:
JeremyStar™ 2024-05-15 00:55:44 +02:00
parent da5a1882cf
commit acbf4f4927
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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