more fixes to next/prev

This commit is contained in:
Ben Fry
2014-11-14 16:20:37 -07:00
parent 1ee3879f80
commit a6bf4f8cd7
2 changed files with 14 additions and 10 deletions

View File

@@ -80,6 +80,7 @@ public class PdeKeyListener {
Sketch sketch = editor.getSketch();
/*
if ((event.getModifiers() & CTRL_ALT) == CTRL_ALT) {
if (code == KeyEvent.VK_LEFT) {
sketch.handlePrevCode();
@@ -89,6 +90,7 @@ public class PdeKeyListener {
return true;
}
}
*/
if ((event.getModifiers() & InputEvent.META_MASK) != 0) {
//event.consume(); // does nothing