Skip to content

Commit

Permalink
Update lib/src/retained/element_mouse_event_args.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgann committed Nov 26, 2012
1 parent 11c82cf commit 63e9fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/retained/element_mouse_event_args.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 63e9fa0

Please sign in to comment.