Changeset 18489 in josm
- Timestamp:
- 2022-06-13T19:38:59+02:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergeModel.java
r14214 r18489 14 14 import org.openstreetmap.josm.command.conflict.DeletedStateConflictResolveCommand; 15 15 import org.openstreetmap.josm.data.conflict.Conflict; 16 import org.openstreetmap.josm.data.coor.ILatLon; 16 17 import org.openstreetmap.josm.data.coor.LatLon; 17 18 import org.openstreetmap.josm.data.osm.Node; … … 288 289 if (myCoords != null && theirCoords == null) return true; 289 290 if (myCoords == null && theirCoords == null) return false; 290 return myCoords != null && !myCoords.equalsEpsilon(theirCoords); 291 return myCoords != null && !myCoords.equalsEpsilon(theirCoords, ILatLon.MAX_SERVER_PRECISION); 291 292 } 292 293 -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java
r17765 r18489 15 15 import java.util.zip.CRC32; 16 16 17 import org.openstreetmap.josm.data.coor.ILatLon; 17 18 import org.openstreetmap.josm.data.coor.LatLon; 18 19 import org.openstreetmap.josm.data.gpx.GpxDistance; … … 1207 1208 */ 1208 1209 public static boolean at(Environment env, double lat, double lon) { 1209 return new LatLon(lat, lon).equalsEpsilon(center(env)); 1210 return new LatLon(lat, lon).equalsEpsilon(center(env), ILatLon.MAX_SERVER_PRECISION); 1210 1211 } 1211 1212
Note:
See TracChangeset
for help on using the changeset viewer.