minor tweak and fixes
This commit is contained in:
1 parent
54ac7f6522
commit
660a015f8b
10 files changed
+87
-9
No files matched your search
@@ -377,7 +377,7 @@ private struct RadialMenuCenterView: View {
|
||||
.padding(.bottom, centerIconTitleSpacing)
|
||||
|
||||
Text(item?.title ?? "")
|
||||
.font(.system(size: max(diameter * 0.047, 13), weight: .medium))
|
||||
.font(.system(size: max(diameter * 0.047, 13), weight: .semibold))
|
||||
.foregroundColor(style.titleColor)
|
||||
.lineLimit(1)
|
||||
.minimumScaleFactor(0.62)
|
||||
@@ -400,7 +400,7 @@ private struct RadialMenuCenterView: View {
|
||||
}
|
||||
|
||||
private var centerTextSpacing: CGFloat {
|
||||
max(diameter * 0.018, 4)
|
||||
max(diameter * 0.013, 3.3)
|
||||
}
|
||||
|
||||
private var centerIconTitleSpacing: CGFloat {
|
||||
@@ -408,7 +408,7 @@ private struct RadialMenuCenterView: View {
|
||||
return centerTextSpacing
|
||||
}
|
||||
|
||||
return max(diameter * 0.034, 8)
|
||||
return 3.6
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user