Don't deselect on panning
[potlatch2.git] / net / systemeD / potlatch2 / controller / ControllerState.as
index 416216d..87ff4cb 100644 (file)
@@ -146,7 +146,7 @@ package net.systemeD.potlatch2.controller {
                                        return new SelectArea(event.localX,event.localY,selection);
                                }
 
-            } else if ( (event.type==MouseEvent.CLICK || event.type==MouseEvent.MOUSE_UP) && focus == null && map.dragstate!=map.DRAGGING && !event.ctrlKey) {
+            } else if ( event.type==MouseEvent.MOUSE_UP && focus == null && map.dragstate!=map.DRAGGING && !event.ctrlKey) {
                 return (this is NoSelection) ? null : new NoSelection();
             }
                        return null;