[removing some noise accidentally checked in in 25114. I will review my quality contr...
authorSteve Bennett <stevagewp@gmail.com>
Sun, 23 Jan 2011 09:42:58 +0000 (09:42 +0000)
committerSteve Bennett <stevagewp@gmail.com>
Sun, 23 Jan 2011 09:42:58 +0000 (09:42 +0000)
net/systemeD/potlatch2/controller/DrawWay.as

index 0e7aec2..5156736 100644 (file)
@@ -167,16 +167,13 @@ package net.systemeD.potlatch2.controller {
                        switch (event.keyCode) {
                                case Keyboard.ENTER:                                    return keyExitDrawing();
                                case Keyboard.ESCAPE:                                   return keyExitDrawing();
                        switch (event.keyCode) {
                                case Keyboard.ENTER:                                    return keyExitDrawing();
                                case Keyboard.ESCAPE:                                   return keyExitDrawing();
-                               //case 90: /* Z */             
                                case Keyboard.DELETE:           
                                case Keyboard.BACKSPACE:        
                                case Keyboard.DELETE:           
                                case Keyboard.BACKSPACE:        
-                                   
                                case 189: /* minus */       return backspaceNode(MainUndoStack.getGlobalStack().addAction);
                                case 82: /* R */            repeatTags(firstSelected); return this;
                        }
                        var cs:ControllerState = sharedKeyboardEvents(event);
                                case 189: /* minus */       return backspaceNode(MainUndoStack.getGlobalStack().addAction);
                                case 82: /* R */            repeatTags(firstSelected); return this;
                        }
                        var cs:ControllerState = sharedKeyboardEvents(event);
-                       //if (selectedWay.length == 0) return stopDrawing(); // to catch 'undo'ing the start of a draw.
-                       return cs ? cs : this;7
+                       return cs ? cs : this;
                        
                }
                
                        
                }