From 63e9fa017c30362be5dc86c4930a387336848726 Mon Sep 17 00:00:00 2001 From: alexgann Date: Sun, 25 Nov 2012 23:35:14 -0500 Subject: [PATCH] Update lib/src/retained/element_mouse_event_args.dart --- lib/src/retained/element_mouse_event_args.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/retained/element_mouse_event_args.dart b/lib/src/retained/element_mouse_event_args.dart index b505229b..db6ec32e 100644 --- a/lib/src/retained/element_mouse_event_args.dart +++ b/lib/src/retained/element_mouse_event_args.dart @@ -8,7 +8,7 @@ class ElementMouseEventArgs extends EventArgs { assert(element != null); assert(mouseEvent != null); - return new ElementMouseEventArgs._internal(element, mouseEvent.shiftKey); + return new ElementMouseEventArgs._internal(element, (mouseEvent.button == 2)); } ElementMouseEventArgs._internal(this.element, this.shiftKey);