diff --git a/TheNoiseClock.xcodeproj/xcuserdata/mattbruce.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/TheNoiseClock.xcodeproj/xcuserdata/mattbruce.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index 1004f88..0f9cac4 100644 --- a/TheNoiseClock.xcodeproj/xcuserdata/mattbruce.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/TheNoiseClock.xcodeproj/xcuserdata/mattbruce.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -3,4 +3,22 @@ uuid = "20B61D3C-CF97-4427-BF7D-EB393A559DFC" type = "1" version = "2.0"> + + + + + + diff --git a/TheNoiseClock/Views/Clock/Components/TimeDisplayView.swift b/TheNoiseClock/Views/Clock/Components/TimeDisplayView.swift index 7bb6221..a21e874 100644 --- a/TheNoiseClock/Views/Clock/Components/TimeDisplayView.swift +++ b/TheNoiseClock/Views/Clock/Components/TimeDisplayView.swift @@ -57,6 +57,7 @@ struct TimeDisplayView: View { var body: some View { GeometryReader { proxy in let containerSize = proxy.size + let portraitMode = containerSize.height >= containerSize.width let portrait = !forceHorizontalMode && containerSize.height >= containerSize.width // Use optimal font sizing based on actual container size @@ -115,13 +116,14 @@ struct TimeDisplayView: View { } } .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .center) + .offset(y: portraitMode && forceHorizontalMode ? -containerSize.height * 0.10 : 0) // Push up in horizontal mode .scaleEffect(finalScale, anchor: .center) .animation(UIConstants.AnimationCurves.smooth, value: finalScale) .animation(UIConstants.AnimationCurves.smooth, value: showSeconds) // Smooth animation for seconds toggle .minimumScaleFactor(0.1) .clipped() // Prevent overflow beyond bounds } - .border(.yellow, width: 1) + //.border(.yellow, width: 1) .frame(maxWidth: .infinity, maxHeight: .infinity) .onOrientationChange() // Force updates on orientation changes } diff --git a/TheNoiseClock/Views/Clock/Components/TimeSegment.swift b/TheNoiseClock/Views/Clock/Components/TimeSegment.swift index b0a153e..f79dbab 100644 --- a/TheNoiseClock/Views/Clock/Components/TimeSegment.swift +++ b/TheNoiseClock/Views/Clock/Components/TimeSegment.swift @@ -33,10 +33,10 @@ struct TimeSegment: View { fontDesign: fontDesign ) .frame(width: digitWidth) - .border(.red, width: 1) + //.border(.red, width: 1) } } - .border(Color.green, width: 1) + //.border(Color.green, width: 1) .frame(maxHeight: .infinity) }