Skip to content

Commit 9a31345

Browse files
CopilotbedaHovorka
andauthored
fix(docs): correct Frame KDoc — StatusBar stays visible in simulation mode
Agent-Logs-Url: https://github.com/bedaHovorka/interlockSim/sessions/6e672e3d-f6ab-46a6-8bfc-2d330c2698c0 Co-authored-by: bedaHovorka <5263405+bedaHovorka@users.noreply.github.com>
1 parent 3dae561 commit 9a31345

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • desktop-ui/src/main/kotlin/cz/vutbr/fit/interlockSim/gui

desktop-ui/src/main/kotlin/cz/vutbr/fit/interlockSim/gui/Frame.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import javax.swing.Timer
3434
*
3535
* Provides dynamic layout that adapts based on context type:
3636
* - **Editing Mode** ([EditingContext]): StatusBar visible, ControlPanel hidden
37-
* - **Simulation Mode** ([SimulationContext]): ControlPanel and EventTimelinePanel visible, StatusBar hidden
37+
* - **Simulation Mode** ([SimulationContext]): ControlPanel and EventTimelinePanel visible, StatusBar remains visible (speed indicator shown)
3838
*
3939
* ## Layout Structure
4040
*
@@ -78,7 +78,7 @@ import javax.swing.Timer
7878
* 1. Creates [EventTimelinePanel] (lazy, reused across simulations)
7979
* 2. Wires EventTimelinePanel to [RailwayNetGridCanvas] → [cz.vutbr.fit.interlockSim.gui.animation.AnimationController]
8080
* 3. Starts 10 Hz timer for [ControlPanel] time updates
81-
* 4. Shows ControlPanel and EventTimelinePanel, hides StatusBar
81+
* 4. Shows ControlPanel and EventTimelinePanel (above StatusBar); StatusBar remains visible
8282
*
8383
* When an [EditingContext] is set, the frame:
8484
* 1. Hides ControlPanel and EventTimelinePanel

0 commit comments

Comments
 (0)