aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/touch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/compositing/touch.rs')
-rw-r--r--components/compositing/touch.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/compositing/touch.rs b/components/compositing/touch.rs
index ac8e3690d96..34bb90099e4 100644
--- a/components/compositing/touch.rs
+++ b/components/compositing/touch.rs
@@ -2,12 +2,13 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-use self::TouchState::*;
use euclid::{Point2D, Scale, Vector2D};
use log::warn;
use script_traits::{EventResult, TouchId};
use style_traits::DevicePixel;
+use self::TouchState::*;
+
/// Minimum number of `DeviceIndependentPixel` to begin touch scrolling.
const TOUCH_PAN_MIN_SCREEN_PX: f32 = 20.0;