mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-21 04:14:21 +00:00
core: be explicit about float rounding for mouse scroll multiplier
This commit is contained in:
@@ -350,8 +350,13 @@ palette: Palette = .{},
|
||||
/// requests otherwise, set this to `never`.
|
||||
@"mouse-shift-capture": MouseShiftCapture = .false,
|
||||
|
||||
/// Multiplier for scrolling distance with the mouse wheel. Any value less than 0.01 or greater than
|
||||
/// 10,000 will be clamped to the nearest valid value.
|
||||
/// Multiplier for scrolling distance with the mouse wheel. Any value less
|
||||
/// than 0.01 or greater than 10,000 will be clamped to the nearest valid
|
||||
/// value.
|
||||
///
|
||||
/// A value of "1" (default) scrolls te default amount. A value of "2" scrolls
|
||||
/// double the default amount. A value of "0.5" scrolls half the default amount.
|
||||
/// Et cetera.
|
||||
@"mouse-scroll-multiplier": f64 = 1.0,
|
||||
|
||||
/// The opacity level (opposite of transparency) of the background. A value of
|
||||
|
||||
Reference in New Issue
Block a user