File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
SwiftUI-WorkoutApp.xcodeproj
SwiftUI-WorkoutApp/Screens/Common/PhotoSection Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 10691069 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
10701070 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
10711071 CODE_SIGN_STYLE = Automatic;
1072- CURRENT_PROJECT_VERSION = 3 ;
1072+ CURRENT_PROJECT_VERSION = 4 ;
10731073 DEVELOPMENT_ASSET_PATHS = "SwiftUI-WorkoutApp/Preview\\ Content/PreviewContent.swift SwiftUI-WorkoutApp/Preview\\ Content";
10741074 DEVELOPMENT_TEAM = CR68PP2Z3F;
10751075 ENABLE_PREVIEWS = YES;
11061106 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
11071107 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
11081108 CODE_SIGN_STYLE = Automatic;
1109- CURRENT_PROJECT_VERSION = 3 ;
1109+ CURRENT_PROJECT_VERSION = 4 ;
11101110 DEVELOPMENT_ASSET_PATHS = "SwiftUI-WorkoutApp/Preview\\ Content/PreviewContent.swift SwiftUI-WorkoutApp/Preview\\ Content";
11111111 DEVELOPMENT_TEAM = CR68PP2Z3F;
11121112 ENABLE_PREVIEWS = YES;
Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ private extension PhotoSectionView {
8484 }
8585 }
8686
87+ /// Картинка после применения `clipped` и `contentShape`
88+ /// все еще перекрывает другие UI-элементы и не дает их нажимать,
89+ /// поэтому используем `GeometryReader` + `scaledToFit`
8790 func makeSingleView( with photo: Photo ) -> some View {
8891 GeometryReader { geo in
8992 ResizableCachedImage (
You can’t perform that action at this time.
0 commit comments