Preserve the 36-point minimum for composer controls

Keep all six composer control frames at least 36 points while
preserving growth at larger Dynamic Type sizes.
This commit is contained in:
heyaim 2026-11-03 23:48:15 -06:00
parent fb01755238
commit 16b783f661

View File

@ -28,7 +28,11 @@ struct ContentComposerView: View {
@Binding var showMacImagePicker: Bool
#endif
@ScaledMetric(relativeTo: .title2) private var composerActionSize: CGFloat = 36
@ScaledMetric(relativeTo: .title2) private var scaledComposerActionSize: CGFloat = 36
private var composerActionSize: CGFloat {
max(36, scaledComposerActionSize)
}
var body: some View {
VStack(alignment: .leading, spacing: 6) {