mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 05:19:13 +00:00
fix fontmanager view testline
This commit is contained in:
@@ -19,7 +19,7 @@ class HostsManager: ObservableObject, @unchecked Sendable {
|
||||
@Published var selectedAnsi: Int = 1
|
||||
|
||||
@Published var fonts: [UIFont] = []
|
||||
@Published var selectedFont: String = "Menlo"
|
||||
@Published var selectedFont: String = "SF Mono"
|
||||
|
||||
var tint: SwiftUI.Color {
|
||||
selectedTheme.ansi[selectedAnsi].suiColor
|
||||
|
||||
@@ -29,7 +29,7 @@ struct FontManagerView: View {
|
||||
.foregroundStyle(.green)
|
||||
.animation(.spring, value: selected)
|
||||
.transition(.scale)
|
||||
Text("the lazy bronw fox jumps over the lazy dog")
|
||||
Text(testLine)
|
||||
.font(.custom(fontName, size: 15))
|
||||
.bold(selected)
|
||||
.opacity(selected ? 1 : 0.8)
|
||||
|
||||
Reference in New Issue
Block a user