OverviewFilesCommitsIssuesDocsReleasesPeers

godot-keet commits / bf1d760

Reset to home view when switching view modes
Changing the view selector (Groups/People/Topics/etc) now resets _active_group and emits group_view_changed("") so the room list returns to HOME mode. Previously the room list stayed stuck showing the previously selected group from the old view mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bf1d7609c5ca48b7f8e97f294a97f4890643c0b4
by plankatron <fleeky@gmail.com> · 2026-02-23T17:32:07.000Z

Changed files (1) +3 -0

scripts/group_bar.gd +3 -0
……@@ -67,6 +67,9 @@ func _on_connected() -> void:
6767func _on_view_mode_changed(idx: int) -> void:
6868 _current_view = idx
6969 _clusters.clear()
70 # Reset to home — previous group selection doesn't apply to new view
71 _active_group = ""
72 KeetService.group_view_changed.emit("")
7073 _rebuild_icons()
7174 _recompute_clusters()
7275