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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 13465021: Flipping the direction of WheelEvent.deltaX/Y to follow standards (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 95222e15cb28c61cc957db811e78a08ff6b73926..98d9acd61cc68c0f9201d9ec5d49db9d263e8acf 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -28860,9 +28860,9 @@ class WheelEvent extends MouseEvent {
@DomName('WheelEvent.deltaX')
- num get deltaX => $dom_wheelDeltaX;
+ num get deltaX => -$dom_wheelDeltaX;
@DomName('WheelEvent.deltaY')
- num get deltaY => $dom_wheelDeltaY;
+ num get deltaY => -$dom_wheelDeltaY;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a

Powered by Google App Engine
This is Rietveld 408576698