Updated UserList

Added refresh pressed signal, to handle refreshing the user list.  Keeps
filter in place.
This commit is contained in:
Mario Steele 2026-03-08 19:28:07 -05:00
parent 9ab602f822
commit 057edb22d5

View file

@ -19,6 +19,13 @@ var _filter_name: String = ""
func _ready() -> void: func _ready() -> void:
%Filter.text_changed.connect(_update_filter_name) %Filter.text_changed.connect(_update_filter_name)
%FilterLive.pressed.connect(func(): filtering_live = !filtering_live) %FilterLive.pressed.connect(func(): filtering_live = !filtering_live)
%Refresh.pressed.connect(func():
clear_list()
populate_list()
Globals.refresh_live_streamer()
filter_list()
)
Globals.live_streamers_updated.connect(filter_list)
func _update_filter_name(txt: String) -> void: func _update_filter_name(txt: String) -> void:
_filter_name = txt.to_lower() _filter_name = txt.to_lower()