projects
/
potlatch2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac9e3c8
)
set the initial NoSelection state before constructing the toolbox, so the icons are...
author
Andy Allan
<gravitystorm@gmail.com>
Tue, 16 Nov 2010 17:50:28 +0000
(17:50 +0000)
committer
Andy Allan
<gravitystorm@gmail.com>
Tue, 16 Nov 2010 17:50:28 +0000
(17:50 +0000)
net/systemeD/potlatch2/EditController.as
patch
|
blob
|
history
diff --git
a/net/systemeD/potlatch2/EditController.as
b/net/systemeD/potlatch2/EditController.as
index 83157495369b4e6d163cebea92b1671718e7aab2..60ad793bdc427fe3303a8be4855e663f964857b1 100644
(file)
--- a/
net/systemeD/potlatch2/EditController.as
+++ b/
net/systemeD/potlatch2/EditController.as
@@
-31,10
+31,11
@@
package net.systemeD.potlatch2 {
public function EditController(map:Map, tagViewer:TagViewer, toolbox:Toolbox) {
this._map = map;
+ setState(new NoSelection());
this.tagViewer = tagViewer;
this.toolbox = toolbox;
this.toolbox.init(this);
- setState(new NoSelection());
+
map.parent.addEventListener(MouseEvent.MOUSE_MOVE, mapMouseEvent);
map.parent.addEventListener(MouseEvent.MOUSE_UP, mapMouseEvent);