fix(profile): avoid freeing nodes during their own signal
Defer frame selection and use queued deletion when rebuilding frame cards, avatars, Guest Book cards, and legend chips. Adds a regression check that presses a frame card and verifies the grid stays stable.
This commit is contained in:
1 parent
3c2ead0be1
commit
48c14864a4
5 files changed
+41
-12
No files matched your search
+1
-1
@@ -266,7 +266,7 @@ func start_daily(index: int, key: String) -> void:
|
||||
|
||||
func _refresh_legend() -> void:
|
||||
for child in legend_row.get_children():
|
||||
child.free()
|
||||
child.queue_free()
|
||||
legend_chips.clear()
|
||||
if board.region_rats.is_empty():
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user