15 lines
512 B
Rust
15 lines
512 B
Rust
use settings::macros::define_settings_group;
|
|
use settings::{Setting, SupportedPlatforms, SyncToCloud};
|
|
|
|
define_settings_group!(ScrollSettings, settings: [
|
|
mouse_scroll_multiplier: MouseScrollMultiplier {
|
|
type: f32,
|
|
default: 3.0,
|
|
supported_platforms: SupportedPlatforms::ALL,
|
|
sync_to_cloud: SyncToCloud::Never,
|
|
private: false,
|
|
toml_path: "general.mouse_scroll_multiplier",
|
|
description: "The scroll speed multiplier for mouse scroll events.",
|
|
},
|
|
]);
|