调整:缩小日期/农历信息行字号(unitH*0.22 → 0.15)
日期与农历默认显示偏大,将信息行字体系数由 0.22 降至 0.15,缩小约 32%, 与翻页数字更协调。Release 构建 BUILD SUCCEEDED,Developer ID 正式签名通过。
This commit is contained in:
@@ -273,7 +273,7 @@ final class FlipClockSaverView: ScreenSaverView {
|
||||
private func drawInfo(in ctx: CGContext, rect: CGRect) {
|
||||
guard !infoString.isEmpty else { return }
|
||||
ctx.saveGState()
|
||||
let font = NSFont.systemFont(ofSize: unitH * 0.22, weight: .medium)
|
||||
let font = NSFont.systemFont(ofSize: unitH * 0.15, weight: .medium)
|
||||
let size = (infoString as NSString).size(withAttributes: [.font: font])
|
||||
let r = CGRect(x: rect.midX - size.width / 2,
|
||||
y: rect.midY - size.height / 2,
|
||||
|
||||
Reference in New Issue
Block a user