diff options
| author | Anthony Towns <aj@erisian.com.au> | 2010-11-21 13:19:36 +1000 | 
|---|---|---|
| committer | Anthony Towns <aj@erisian.com.au> | 2010-11-21 13:19:36 +1000 | 
| commit | c040bcd06679484175542208fb564d0271a7fc1b (patch) | |
| tree | b5d762e2b0de575e077f387cc886f427d2cd45cd | |
| parent | c3994dd82d489289ebc99ff9c5fa88f560c023ac (diff) | |
AltosSiteMap: try to get new tile construction right
| -rw-r--r-- | ao-tools/altosui/AltosSiteMap.java | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/ao-tools/altosui/AltosSiteMap.java b/ao-tools/altosui/AltosSiteMap.java index 25450e7e..dd99ad48 100644 --- 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; | 
