mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +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 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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user