projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3994dd
)
AltosSiteMap: try to get new tile construction right
author
Anthony Towns
<aj@erisian.com.au>
Sun, 21 Nov 2010 03:19:36 +0000
(13:19 +1000)
committer
Anthony Towns
<aj@erisian.com.au>
Sun, 21 Nov 2010 03:19:36 +0000
(13:19 +1000)
ao-tools/altosui/AltosSiteMap.java
patch
|
blob
|
history
diff --git
a/ao-tools/altosui/AltosSiteMap.java
b/ao-tools/altosui/AltosSiteMap.java
index 25450e7eac02fb65ec4408a15e870ac3c50d9dc8..dd99ad48a6d19f2a43e9ed0d4f93b8e5a2e0b2f6 100644
(file)
--- a/
ao-tools/altosui/AltosSiteMap.java
+++ b/
ao-tools/altosui/AltosSiteMap.java
@@
-264,12
+264,14
@@
public class AltosSiteMap extends JScrollPane implements AltosFlightDisplay {
}
if (!in_any) {
AltosSiteMapTile tile = addTileAt(tileOffset(pt));
+ setViewportView(comp);
+
Point2D.Double ref, lref;
ref = translatePoint(pt, tileCoordOffset(tile));
lref = translatePoint(last_pt, tileCoordOffset(tile));
- initMap(tile);
- setViewportView(comp);
tile.show(state, crc_errors, lref, ref);
+
+ initMap(tile);
}
last_pt = pt;
last_state = state.state;