enum ContentScaleShortcuts
Swift
enum ContentScaleShortcuts
Default chord: Ctrl+Shift + = / - / 0 (and numpad).
Library helper — apps can call this from their event loop, or roll their own
binding to FontStore.zoomIn/Out.
Sources/LavaUI/Input.swift:208
Methods
@discardableResult static func handle(key: Int32, action: Float, mods: Int32, editor: Editor) -> Bool
Applies a key event to FontStore scale if it matches the default chord.
Returns true when the active face size changed (caller should dirty layout).
Sources/LavaUI/Input.swift:212
@discardableResult static func handle(_ event: InputEvent, editor: Editor) -> Bool
Convenience over a polled InputEvent.
Sources/LavaUI/Input.swift:235