Index: lams_tool_mindmap/src/flash/AS/Branch.as =================================================================== RCS file: /usr/local/cvsroot/lams_tool_mindmap/src/flash/AS/Branch.as,v diff -u -r1.1 -r1.2 --- lams_tool_mindmap/src/flash/AS/Branch.as 28 Apr 2009 06:18:19 -0000 1.1 +++ lams_tool_mindmap/src/flash/AS/Branch.as 28 Apr 2009 06:44:59 -0000 1.2 @@ -36,7 +36,7 @@ this.addChild(this.sons); this.applyCosmetics(); this.expandButton = new ExpandSign(); - this.expandButton.width = this.expandButton.height = 8; + this.expandButton.width = this.expandButton.height = 12; this.expandButton.addEventListener(MouseEvent.MOUSE_DOWN, this.onExpandPress); this.expanded = true; this.proper(); @@ -80,6 +80,10 @@ try{ this.sons.removeChild(branch); }catch(error:ArgumentError){}; + if(this.sonCount==0){ + this.expanded = true; + InternalConcept(this.base).checkButtons(); + } this.mindMap.conceptRemoved(InternalConcept(branch.base)); } public function getConceptById(id:int):Concept {