Created
April 29, 2012 23:03
-
-
Save connor/2553762 to your computer and use it in GitHub Desktop.
right keydown cubism.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case 39: // right | |
if (d3.event.shiftKey && size - focus > 20) context.focus(focus += 20); | |
else { | |
if (focus == null) focus = size - 2; | |
if (focus < size - 1) context.focus(focus++); | |
} | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment