Skip to content

Commit 19d4c2a

Browse files
committed
Reduce Trial controls obstruction while improving team card readability
The Trial action panel now uses a narrower, taller three-column layout so players can keep more map visible without shrinking button text. The shared team status cards are taller, not wider, across all Unity entries and the WebGL outputs are rebuilt so the delivery matches the code. Constraint: The user requested width to stay stable for team cards and explicitly asked not to shrink text or remove scrolling. Rejected: Shrink team card fonts | readability would regress and violate the requested direction. Rejected: Make the Trial action panel two columns | it would become too tall for factory/market action sets. Confidence: high Scope-risk: moderate Directive: Future team-card changes should go through shared SimpleHud plus all three UILayoutSetup copies, then rebuild WebGL entries. Tested: git diff --check passed for tracked interface files. Tested: dotnet format whitespace verify passed for Live, Playback, Trial, and shared runtime script roots. Tested: Unity batch compile returned code 0 for Live, Playback, and Trial with no compiler errors. Tested: WebGL builds returned code 0 for Live, Playback, and Trial. Tested: Local WebGL root, /trial/, /live/, and /playback/ returned HTTP 200 without repository directory listing. Not-tested: Manual browser canvas visual QA after interaction; HTTP smoke and build verification passed.
1 parent 17b8804 commit 19d4c2a

12 files changed

Lines changed: 786 additions & 18 deletions

File tree

interface/Unity/Unity-Live/Assets/Scripts/UI/UILayoutSetup.cs

Lines changed: 254 additions & 2 deletions
Large diffs are not rendered by default.

interface/Unity/Unity-Live/Packages/com.eesast.interface.shared/Runtime/Scripts/UI/SimpleHud.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public sealed class SimpleHud
2121
private const float TeamStatusRightMargin = 24f;
2222
private const float TeamStatusTopMargin = 108f;
2323
private const float TeamStatusWidth = 292f;
24-
private const float TeamStatusHeight = 122f;
24+
private const float TeamStatusHeight = 156f;
2525
private const float TeamStatusGap = 12f;
2626
private const float TeamStatusContentHeight = 430f;
2727

0 commit comments

Comments
 (0)