projects
/
potlatch2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Download on resize
[potlatch2.git]
/
net
/
systemeD
/
halcyon
/
Map.as
diff --git
a/net/systemeD/halcyon/Map.as
b/net/systemeD/halcyon/Map.as
index
833526e
..
29aded4
100644
(file)
--- a/
net/systemeD/halcyon/Map.as
+++ b/
net/systemeD/halcyon/Map.as
@@
-206,6
+206,7
@@
package net.systemeD.halcyon {
mapwidth = w; centre_lon=coord2lon(-getX()+w/2);
mapheight= h; centre_lat=coord2lat(-getY()+h/2);
setScrollRectSize(w,h);
+ updateCoords(getX(),getY());
this.dispatchEvent(new MapEvent(MapEvent.RESIZE, {width:w, height:h}));