FontSizeButtons
struct FontSizeButtons: View
SwiftUI View with buttons to resize the editor font
Note
Unfortunately, this cannot be placed in aMenu because it does not proper update its state.
-
The observable state of the application
Declaration
Swift
private var appState -
The observable state of the scene
Declaration
Swift
private var sceneState: SceneStateModel? -
The range of font sizes
Declaration
Swift
private let fontSizeRange = Editor.Settings.fontSizeRange -
The body of the
ViewDeclaration
Swift
var body: some View
View on GitHub