feat: allow disabling the sliding of screens back and forth (#20)

fix: sliding screens with smooth trackpad scrolling
knuckles smooth trackpad scrolling can return NaN
This commit is contained in:
alexdenerqal
2024-03-29 12:49:45 +01:00
committed by GitHub
parent 7f6e8909e6
commit ab0d91ea20
3 changed files with 13 additions and 3 deletions

View File

@@ -150,6 +150,9 @@ pub struct GeneralConfig {
#[serde(default = "def_half")]
pub xr_alt_click_sensitivity_release: f32,
#[serde(default = "def_true")]
pub allow_sliding: bool,
}
impl GeneralConfig {