ok, this should update the toolbox without incurring the tag panel time penalty
authorRichard Fairhurst <richard@systemed.net>
Fri, 28 Jan 2011 13:12:23 +0000 (13:12 +0000)
committerRichard Fairhurst <richard@systemed.net>
Fri, 28 Jan 2011 13:12:23 +0000 (13:12 +0000)
net/systemeD/potlatch2/EditController.as
net/systemeD/potlatch2/controller/DrawWay.as

index fd4bec0..32cbc4c 100644 (file)
@@ -86,6 +86,10 @@ package net.systemeD.potlatch2 {
                        tagViewer.setEntity(state.selection, layer);
                        toolbox.updateSelectionUI();
                }
+
+               public function updateSelectionUIWithoutTagChange():void {
+                       toolbox.updateSelectionUI();
+               }
         
         private function keyDownHandler(event:KeyboardEvent):void {
                        keys[event.keyCode]=true;
index 5152161..dcf63d8 100644 (file)
@@ -48,6 +48,7 @@ package net.systemeD.potlatch2.controller {
                     controller.map.setPurgable([node], false);
                                        resetElastic(node);
                                        lastClick=node;
+                                       controller.updateSelectionUIWithoutTagChange();
                                } else if ( entity is Node ) {
                                        if (entity==lastClick && (new Date().getTime()-lastClickTime.getTime())<1000) {
                                                if (Way(firstSelected).length==1 && Way(firstSelected).getNode(0).parentWays.length==1) {