Revision: 9244
http://sourceforge.net/p/vassalengine/svn/9244
Author: uckelman
Date: 2016-11-20 14:34:32 +0000 (Sun, 20 Nov 2016)
Log Message:
-----------
Merged Brent-3.2-Work@9233.
Fixed Bug 11649: Persistent LOS thread not working with zoom different from 100%
Modified Paths:
--------------
VASSAL-src/trunk/src/VASSAL/build/module/map/LOS_Thread.java
Modified: VASSAL-src/trunk/src/VASSAL/build/module/map/LOS_Thread.java
===================================================================
--- VASSAL-src/trunk/src/VASSAL/build/module/map/LOS_Thread.java 2016-11-20 00:05:45 UTC (rev 9243)
+++ VASSAL-src/trunk/src/VASSAL/build/module/map/LOS_Thread.java 2016-11-20 14:34:32 UTC (rev 9244)
@@ -493,8 +493,8 @@
}
}
}
- lastAnchor = mapAnchor;
- lastArrow = mapArrow;
+ lastAnchor = anchor;
+ lastArrow = arrow;
}
public boolean drawAboveCounters() {
@@ -682,8 +682,8 @@
lastLocation = location;
}
- Point mapAnchor = map.mapCoordinates(lastAnchor);
- Point mapArrow = map.mapCoordinates(lastArrow);
+ Point mapAnchor = lastAnchor;
+ Point mapArrow = lastArrow;
int fudge = (int) (1.0 / map.getZoom() * 2);
Rectangle r = new Rectangle(Math.min(mapAnchor.x, mapArrow.x)-fudge,
Math.min(mapAnchor.y, mapArrow.y)-fudge,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
vassalengine-svn mailing list
vas...@li...
https://lists.sourceforge.net/lists/listinfo/vassalengine-svn
|