File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
SampleApps/SwiftUI/PickerDemo/QuickPose Demo Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -205,10 +205,13 @@ struct QuickPosePickerView: View {
205205 . font ( . system( size: 32 , weight: . semibold) ) . foregroundColor ( . white)
206206 . padding ( . bottom, 40 + safeAreaInsets. bottom) . opacity ( counterVisibility * isFullBodyVisible)
207207 ValueBar ( value: measure, opacity: isFullBodyVisible * counterVisibility)
208+ }
209+ } . overlay ( alignment: . center) {
210+ if ( selectedFeatures. contains ( . checks( . isFullBodyVisible) ) ) {
208211 Text ( " Ensure your full body is visible " )
209212 . font ( . system( size: 32 , weight: . semibold) ) . foregroundColor ( . red) . multilineTextAlignment ( . center)
210213 . padding ( . bottom, 40 + safeAreaInsets. bottom)
211- . opacity ( ( 1 - isFullBodyVisible) * counterVisibility )
214+ . opacity ( 1 - isFullBodyVisible)
212215 }
213216 } . overlay ( alignment: . bottom) {
214217 if let feature = selectedFeatures. first {
You can’t perform that action at this time.
0 commit comments