diff --git a/wires.js b/wires.js index 8d58ba1..ce51539 100644 --- a/wires.js +++ b/wires.js @@ -313,9 +313,9 @@ function drawSeg(ctx, seg){ function handleKey(e){ var c = e.charCode; c = String.fromCharCode(c); - if('<>?np'.indexOf(c)==-1) return; - if(c=='<' && zoom>1) setZoom(zoom/1.2); - else if(c=='>' && zoom?npZzx'.indexOf(c)==-1) return; + if((c=='Z'||c=='x'||c=='<') && zoom>1) setZoom(zoom/1.2); + else if((c=='z'||c=='>') && zoom