We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc2aa8 commit e97d552Copy full SHA for e97d552
desktop/src/cef/consts.rs
@@ -1,2 +1,12 @@
1
+use std::time::Duration;
2
+
3
pub(crate) const RESOURCE_SCHEME: &str = "resources";
4
pub(crate) const RESOURCE_DOMAIN: &str = "resources";
5
6
+pub(crate) const SCROLL_LINE_HEIGHT: usize = 40;
7
+pub(crate) const SCROLL_LINE_WIDTH: usize = 40;
8
+pub(crate) const SCROLL_SPEED_X: f32 = 3.0;
9
+pub(crate) const SCROLL_SPEED_Y: f32 = 3.0;
10
11
+pub(crate) const MULTICLICK_TIMEOUT: Duration = Duration::from_millis(500);
12
+pub(crate) const MULTICLICK_ALLOWED_TRAVEL: usize = 4;
0 commit comments