Separate code font size

This commit is contained in:
Ian Gulliver
2026-10-21 10:15:26 -07:00
parent 1ab0ebad9f
commit b5f23e20c2
4 changed files with 35 additions and 18 deletions
+3 -1
View File
@@ -43,10 +43,12 @@ final class PrefsRecord {
static let defaultFontSize = 12
var fontSize = PrefsRecord.defaultFontSize
var codeFontSize = PrefsRecord.defaultFontSize
var saved = Date.distantPast
init(fontSize: Int) {
init(fontSize: Int, codeFontSize: Int) {
self.fontSize = fontSize
self.codeFontSize = codeFontSize
saved = Date()
}
}