Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
9a22d133d5
commit
9ad348daa1
@ -145,7 +145,7 @@ struct GameTableView: View {
|
|||||||
// Main content area with optional sidebar
|
// Main content area with optional sidebar
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
// Left side: Road map history grid
|
// Left side: Road map history grid
|
||||||
if settings.showHistory && !state.roundHistory.isEmpty {
|
if settings.showHistory {
|
||||||
VStack(alignment: .leading, spacing: Design.Spacing.xSmall) {
|
VStack(alignment: .leading, spacing: Design.Spacing.xSmall) {
|
||||||
// Header with reading instructions
|
// Header with reading instructions
|
||||||
VStack(alignment: .leading, spacing: 5) {
|
VStack(alignment: .leading, spacing: 5) {
|
||||||
@ -286,7 +286,7 @@ struct GameTableView: View {
|
|||||||
.debugBorder(showDebugBorders, color: .yellow, label: "Spacer2")
|
.debugBorder(showDebugBorders, color: .yellow, label: "Spacer2")
|
||||||
|
|
||||||
// Road map history
|
// Road map history
|
||||||
if settings.showHistory && !state.roundHistory.isEmpty {
|
if settings.showHistory {
|
||||||
RoadMapView(results: state.recentResults)
|
RoadMapView(results: state.recentResults)
|
||||||
.frame(maxWidth: isLargeScreen ? maxContentWidth : .infinity)
|
.frame(maxWidth: isLargeScreen ? maxContentWidth : .infinity)
|
||||||
.padding(.horizontal, Design.Spacing.medium)
|
.padding(.horizontal, Design.Spacing.medium)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user