fix(cef): raise touchpad navigation threshold
- commit
- 74980e3c504e79f8ed5a35a9654882fdc16fd1d5
- author
- brice · · 2026-06-08 20:31 UTC
- parent
- 05dede8
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3 files · +3 -3
M docs/config/index.md +1 -1
| @@ -200,7 +200,7 @@ border = "#363636" | |||
| 200 | 200 | | `engine.cef.input.scroll_vertical_multiplier` | float | `1.0` | > 0 | Vertical scroll sensitivity multiplier | | |
| 201 | 201 | | `engine.cef.input.scroll_max_delta` | int32 | `0` | >= 0 | Maximum absolute scroll delta after scaling; 0 disables clamping | | |
| 202 | 202 | | `engine.cef.input.touchpad_navigation_enabled` | bool | `true` | - | Enable two-finger touchpad swipe back/forward navigation | | |
| 203 | - | | `engine.cef.input.touchpad_navigation_min_delta` | float | `15.0` | > 0 | Minimum accumulated horizontal swipe delta required for navigation | | |
| 203 | + | | `engine.cef.input.touchpad_navigation_min_delta` | float | `180.0` | > 0 | Minimum accumulated horizontal swipe delta required for navigation | | |
| 204 | 204 | | `engine.cef.input.touchpad_navigation_max_vertical_ratio` | float | `0.5` | > 0 | Maximum vertical-to-horizontal delta ratio allowed for navigation swipes | | |
| 205 | 205 | | `default_ui_scale` | float | `1.0` | > 0 | GTK widget UI scale (1.0=100%, 2.0=200%) | | |
| 206 | 206 | | `default_webpage_zoom` | float | `1.2` | > 0 | Default page zoom (1.0=100%, 1.2=120%) | | |
| @@ -200,7 +200,7 @@ border = "#363636" | |||||
| 200 | | `engine.cef.input.scroll_vertical_multiplier` | float | `1.0` | > 0 | Vertical scroll sensitivity multiplier | | 200 | | `engine.cef.input.scroll_vertical_multiplier` | float | `1.0` | > 0 | Vertical scroll sensitivity multiplier | | ||
| 201 | | `engine.cef.input.scroll_max_delta` | int32 | `0` | >= 0 | Maximum absolute scroll delta after scaling; 0 disables clamping | | 201 | | `engine.cef.input.scroll_max_delta` | int32 | `0` | >= 0 | Maximum absolute scroll delta after scaling; 0 disables clamping | | ||
| 202 | | `engine.cef.input.touchpad_navigation_enabled` | bool | `true` | - | Enable two-finger touchpad swipe back/forward navigation | | 202 | | `engine.cef.input.touchpad_navigation_enabled` | bool | `true` | - | Enable two-finger touchpad swipe back/forward navigation | | ||
| 203 | - | | `engine.cef.input.touchpad_navigation_min_delta` | float | `15.0` | > 0 | Minimum accumulated horizontal swipe delta required for navigation | | 203 | + | | `engine.cef.input.touchpad_navigation_min_delta` | float | `180.0` | > 0 | Minimum accumulated horizontal swipe delta required for navigation | |
| 204 | | `engine.cef.input.touchpad_navigation_max_vertical_ratio` | float | `0.5` | > 0 | Maximum vertical-to-horizontal delta ratio allowed for navigation swipes | | 204 | | `engine.cef.input.touchpad_navigation_max_vertical_ratio` | float | `0.5` | > 0 | Maximum vertical-to-horizontal delta ratio allowed for navigation swipes | | ||
| 205 | | `default_ui_scale` | float | `1.0` | > 0 | GTK widget UI scale (1.0=100%, 2.0=200%) | | 205 | | `default_ui_scale` | float | `1.0` | > 0 | GTK widget UI scale (1.0=100%, 2.0=200%) | | ||
| 206 | | `default_webpage_zoom` | float | `1.2` | > 0 | Default page zoom (1.0=100%, 1.2=120%) | | 206 | | `default_webpage_zoom` | float | `1.2` | > 0 | Default page zoom (1.0=100%, 1.2=120%) | | ||
M docs/reference/configuration.md +1 -1
| @@ -70,7 +70,7 @@ | |||
| 70 | 70 | | `engine.cef.input.scroll_vertical_multiplier` | float | `1.0` | > 0 | | |
| 71 | 71 | | `engine.cef.input.scroll_max_delta` | int32 | `0` | >= 0 | | |
| 72 | 72 | | `engine.cef.input.touchpad_navigation_enabled` | bool | `true` | | | |
| 73 | - | | `engine.cef.input.touchpad_navigation_min_delta` | float | `15.0` | > 0 | | |
| 73 | + | | `engine.cef.input.touchpad_navigation_min_delta` | float | `180.0` | > 0 | | |
| 74 | 74 | | `engine.cef.input.touchpad_navigation_max_vertical_ratio` | float | `0.5` | > 0 | | |
| 75 | 75 | | `default_ui_scale` | float | `1.0` | > 0 | | |
| 76 | 76 | | `default_webpage_zoom` | float | `1.2` | > 0 | | |
| @@ -70,7 +70,7 @@ | |||||
| 70 | | `engine.cef.input.scroll_vertical_multiplier` | float | `1.0` | > 0 | | 70 | | `engine.cef.input.scroll_vertical_multiplier` | float | `1.0` | > 0 | | ||
| 71 | | `engine.cef.input.scroll_max_delta` | int32 | `0` | >= 0 | | 71 | | `engine.cef.input.scroll_max_delta` | int32 | `0` | >= 0 | | ||
| 72 | | `engine.cef.input.touchpad_navigation_enabled` | bool | `true` | | | 72 | | `engine.cef.input.touchpad_navigation_enabled` | bool | `true` | | | ||
| 73 | - | | `engine.cef.input.touchpad_navigation_min_delta` | float | `15.0` | > 0 | | 73 | + | | `engine.cef.input.touchpad_navigation_min_delta` | float | `180.0` | > 0 | |
| 74 | | `engine.cef.input.touchpad_navigation_max_vertical_ratio` | float | `0.5` | > 0 | | 74 | | `engine.cef.input.touchpad_navigation_max_vertical_ratio` | float | `0.5` | > 0 | | ||
| 75 | | `default_ui_scale` | float | `1.0` | > 0 | | 75 | | `default_ui_scale` | float | `1.0` | > 0 | | ||
| 76 | | `default_webpage_zoom` | float | `1.2` | > 0 | | 76 | | `default_webpage_zoom` | float | `1.2` | > 0 | | ||
M internal/infrastructure/config/defaults.go +1 -1
| @@ -75,7 +75,7 @@ const ( | |||
| 75 | 75 | defaultCEFScrollPreciseMultiplier = 2.5 | |
| 76 | 76 | defaultCEFScrollMaxDelta = 0 | |
| 77 | 77 | defaultCEFTouchpadNavigation = true | |
| 78 | - | defaultCEFTouchpadNavigationDelta = 15.0 | |
| 78 | + | defaultCEFTouchpadNavigationDelta = 180.0 | |
| 79 | 79 | defaultCEFTouchpadNavigationRatio = 0.5 | |
| 80 | 80 | ||
| 81 | 81 | // Skia threading defaults (0 = unset, -1 = unset for GPU threads) | |
| @@ -75,7 +75,7 @@ const ( | |||||
| 75 | defaultCEFScrollPreciseMultiplier = 2.5 | 75 | defaultCEFScrollPreciseMultiplier = 2.5 | ||
| 76 | defaultCEFScrollMaxDelta = 0 | 76 | defaultCEFScrollMaxDelta = 0 | ||
| 77 | defaultCEFTouchpadNavigation = true | 77 | defaultCEFTouchpadNavigation = true | ||
| 78 | - | defaultCEFTouchpadNavigationDelta = 15.0 | 78 | + | defaultCEFTouchpadNavigationDelta = 180.0 |
| 79 | defaultCEFTouchpadNavigationRatio = 0.5 | 79 | defaultCEFTouchpadNavigationRatio = 0.5 | ||
| 80 | 80 | ||||
| 81 | // Skia threading defaults (0 = unset, -1 = unset for GPU threads) | 81 | // Skia threading defaults (0 = unset, -1 = unset for GPU threads) | ||