From 133e62fdbb0b907fa4ed197be183fdda2fe156b8 Mon Sep 17 00:00:00 2001 From: LEO Yoon-Tsaw Date: Sat, 10 Jun 2023 18:04:27 -0400 Subject: [PATCH] fix mark size in full watch view --- Chinese Time.xcodeproj/project.pbxproj | 8 ++++---- Watch/WatchFaceView.swift | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Chinese Time.xcodeproj/project.pbxproj b/Chinese Time.xcodeproj/project.pbxproj index da401a4..997c404 100644 --- a/Chinese Time.xcodeproj/project.pbxproj +++ b/Chinese Time.xcodeproj/project.pbxproj @@ -1535,8 +1535,8 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - APP_BUILD = 79; - APP_VERSION = 4.2.4; + APP_BUILD = 80; + APP_VERSION = 4.2.5; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; @@ -1603,8 +1603,8 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - APP_BUILD = 79; - APP_VERSION = 4.2.4; + APP_BUILD = 80; + APP_VERSION = 4.2.5; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; diff --git a/Watch/WatchFaceView.swift b/Watch/WatchFaceView.swift index 067d1e8..c9ae0c7 100644 --- a/Watch/WatchFaceView.swift +++ b/Watch/WatchFaceView.swift @@ -92,7 +92,7 @@ struct Watch: View { let _ = chineseCalendar.update(time: displayTime ?? Date(), timezone: timezone, location: location) - let (firstRingMarks, secondRingMarks, thirdRingMarks, fourthRingMarks) = allRingMarks(watchLayout: watchLayout, chineseCalendar: chineseCalendar, radius: Marks.markSize * shortEdge) + let (firstRingMarks, secondRingMarks, thirdRingMarks, fourthRingMarks) = allRingMarks(watchLayout: watchLayout, chineseCalendar: chineseCalendar, radius: Marks.markSize * shortEdge * 1.5) let shadowDirection = chineseCalendar.currentHourInDay