Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2150)

Unified Diff: sky/specs/pointer.md

Issue 939043004: Specs: fix copypasta in the WheelEvent constructor (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/pointer.md
diff --git a/sky/specs/pointer.md b/sky/specs/pointer.md
index eaf17f27de6515b430c09cda45443779e245f07f..5001f3d5b6f4b21b15b0148707e9232978bfc216 100644
--- a/sky/specs/pointer.md
+++ b/sky/specs/pointer.md
@@ -471,12 +471,11 @@ dials. Track balls are not reported as mouse wheels.
```dart
class WheelEvent extends Event {
- PointerEvent({ bool bubbles,
- this.wheel,
- this.delta: 0.0,
- this.pointer,
- this.x, this.y,
- }): super(bubbles: bubbles);
+ Event({ this.wheel,
+ this.delta: 0.0,
+ this.pointer,
+ this.x, this.y,
+ }): super();
final int wheel;
final double delta; // revolutions (or fractions thereof)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698