Simplify application header

This commit is contained in:
hz
2026-07-17 21:57:21 -05:00
parent fd372532b5
commit 722d91fe94
3 changed files with 10 additions and 42 deletions
+5 -1
View File
@@ -372,7 +372,11 @@ func _build_history_row(summary: Dictionary) -> Control:
_add_table_cell(row, _plain_cell("%d / %d" % [completed_blocks(summary), int(summary.get("totalBlocks", 12))], dark), 0.8)
_add_table_cell(row, _plain_cell(_score_text(summary), dark), 1.15)
_add_table_cell(row, _plain_cell(_pass_chance_text(summary), dark), 1.0)
var action: Control = _review_button(summary, dark) if state == "completed" else _plain_cell("—", dark)
var action: Control
if state == "completed":
action = _review_button(summary, dark)
else:
action = _plain_cell("-", dark)
_add_table_cell(row, action, 1.0)
return panel