projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switch to YUI compressor for making packed JS -- 49k -> 42k
[dygraphs.git]
/
dygraph.js
diff --git
a/dygraph.js
b/dygraph.js
index
1383bcb
..
8858396
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-570,7
+570,7
@@
Dygraph.prototype.createDragInterface_ = function() {
dragStartX = getX(event);
dragStartY = getY(event);
- if (event.altKey) {
+ if (event.altKey
|| event.shiftKey
) {
if (!self.dateWindow_) return; // have to be zoomed in to pan.
isPanning = true;
dateRange = self.dateWindow_[1] - self.dateWindow_[0];