커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -62,7 +62,7 @@ struct SpinWheelView: View {
|
||||
ForEach(0..<data.count, id: \.self) { index in
|
||||
SpinWheelCell(startAngle: startAngle(for: index), endAngle: endAngle(for: index))
|
||||
.fill(colors[index % colors.count])
|
||||
Text(labels[index]).font(.custom(Font.medium.rawValue, size: 13)).foregroundColor(Color.white)
|
||||
Text(labels[index]).appFont(size: 13, weight: .medium).foregroundColor(Color.white)
|
||||
.offset(viewOffset(for: index, in: geo.size)).zIndex(1)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user