Fix bottom-bar time caption for core sessions

Core sessions show a per-question stopwatch that counts up (no fixed
deadline, just a pacing signal), not a countdown - it was incorrectly
labeled "Time remaining" like the simulation/Timed countdown; now
reads "Time elapsed" to match what the number actually does.
This commit is contained in:
hz
2026-07-24 03:16:30 -05:00
parent 0902cc238a
commit a94cc5188f
+7 -1
View File
@@ -1298,7 +1298,13 @@ func _load_question() -> void:
timer_bar.visible = show_timer
timer_footer.visible = show_timer
if timer_caption_label != null:
timer_caption_label.text = "Time remaining" if show_timer else "Time elapsed"
# "core" sessions show a per-question stopwatch that counts UP (no fixed
# limit, just a soft pacing signal), while simulation/Timed sessions count
# DOWN to a real deadline - the caption should match which one it is.
if not show_timer or BlockSessionService.session_kind == "core":
timer_caption_label.text = "Time elapsed"
else:
timer_caption_label.text = "Time remaining"
if show_timer:
if BlockSessionService.session_kind == "core":
_set_timer_display(int(floor(BlockSessionService.get_core_question_total_elapsed_seconds())))