Compare commits

...

4 commits

Author SHA1 Message Date
43f82fd03c Updated Globals
Added refresh_live_streamer() function for refreshing of the live
streamers manually, instead of automatically through the timer.
2026-03-08 19:28:41 -05:00
057edb22d5 Updated UserList
Added refresh pressed signal, to handle refreshing the user list.  Keeps
filter in place.
2026-03-08 19:28:07 -05:00
9ab602f822 Updated UserEntry
Added some spacing to separate variables.
2026-03-08 19:27:39 -05:00
8767002f2c Updated GDataORM Submodule 2026-03-08 19:27:19 -05:00
4 changed files with 14 additions and 1 deletions

View file

@ -5,6 +5,7 @@ var chatter: Chatter
var tw_hidden: Tween
var is_expanded: bool = false
var is_profile_picture_loaded: bool = false
signal user_selected(chatter: Chatter)

View file

@ -19,6 +19,13 @@ var _filter_name: String = ""
func _ready() -> void:
%Filter.text_changed.connect(_update_filter_name)
%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:
_filter_name = txt.to_lower()

View file

@ -74,6 +74,11 @@ func _run_live_streamer_update() -> void:
live_streamers = await twitcher.get_live_streamers_data()
live_streamers_updated.emit()
func refresh_live_streamer() -> void:
if _tmr_live_stream: _tmr_live_stream.stop()
_run_live_streamer_update()
if _tmr_live_stream: _tmr_live_stream.start(240)
func save_settings() -> void:
ResourceSaver.save(settings, "user://settings.tres")

@ -1 +1 @@
Subproject commit c4a6ef75b9313e44caeed547715b8aa5097cf087
Subproject commit 6b84770fe6d3a5090e691c5ef3d9c17c50945ce0