mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement support for overscrolling on the Mac.
Requires tomaka/glutin#734, servo/webrender_traits#14, and servo/webrender#217.
This commit is contained in:
parent
059edc3287
commit
8eb2cda438
8 changed files with 152 additions and 49 deletions
|
@ -63,7 +63,7 @@ pub enum WindowEvent {
|
|||
Touch(TouchEventType, TouchId, TypedPoint2D<DevicePixel, f32>),
|
||||
/// Sent when the user scrolls. The first point is the delta and the second point is the
|
||||
/// origin.
|
||||
Scroll(TypedPoint2D<DevicePixel, f32>, TypedPoint2D<DevicePixel, i32>),
|
||||
Scroll(TypedPoint2D<DevicePixel, f32>, TypedPoint2D<DevicePixel, i32>, TouchEventType),
|
||||
/// Sent when the user zooms.
|
||||
Zoom(f32),
|
||||
/// Simulated "pinch zoom" gesture for non-touch platforms (e.g. ctrl-scrollwheel).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue