fix fontmanager view testline

This commit is contained in:
neon443
2025-07-09 15:05:44 +01:00
parent df80bedb2b
commit 29b9744475
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ class HostsManager: ObservableObject, @unchecked Sendable {
@Published var selectedAnsi: Int = 1 @Published var selectedAnsi: Int = 1
@Published var fonts: [UIFont] = [] @Published var fonts: [UIFont] = []
@Published var selectedFont: String = "Menlo" @Published var selectedFont: String = "SF Mono"
var tint: SwiftUI.Color { var tint: SwiftUI.Color {
selectedTheme.ansi[selectedAnsi].suiColor selectedTheme.ansi[selectedAnsi].suiColor

View File

@@ -29,7 +29,7 @@ struct FontManagerView: View {
.foregroundStyle(.green) .foregroundStyle(.green)
.animation(.spring, value: selected) .animation(.spring, value: selected)
.transition(.scale) .transition(.scale)
Text("the lazy bronw fox jumps over the lazy dog") Text(testLine)
.font(.custom(fontName, size: 15)) .font(.custom(fontName, size: 15))
.bold(selected) .bold(selected)
.opacity(selected ? 1 : 0.8) .opacity(selected ? 1 : 0.8)