projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb00f74
)
treatMouseOpAsClick requires two parameters, I didn't send them both all
author
Robert Konigsberg
<konigsberg@google.com>
Tue, 24 May 2011 21:18:48 +0000
(17:18 -0400)
committer
Robert Konigsberg
<konigsberg@google.com>
Tue, 24 May 2011 21:18:48 +0000
(17:18 -0400)
the time.
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
3cd7c93
..
821ef84
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-1276,7
+1276,7
@@
Dygraph.Interaction.endPan = function(event, g, context) {
if (regionWidth < 2 && regionHeight < 2 &&
g.lastx_ != undefined && g.lastx_ != -1) {
- Dygraph.Interaction.treatMouseOpAsClick(g);
+ Dygraph.Interaction.treatMouseOpAsClick(g
, context
);
}
};
@@
-1385,7
+1385,7
@@
Dygraph.Interaction.endZoom = function(event, g, context) {
if (regionWidth < 2 && regionHeight < 2 &&
g.lastx_ != undefined && g.lastx_ != -1) {
- Dygraph.Interaction.treatMouseOpAsClick(g);
+ Dygraph.Interaction.treatMouseOpAsClick(g
, context
);
}
if (regionWidth >= 10 && context.dragDirection == Dygraph.HORIZONTAL) {