Changeset 12399 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-06-11T18:33:03+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/draw/MapViewPath.java
r12161 r12399 406 406 ClampingPathVisitor(MapViewRectangle clip, double strokeOffset, double strokeLength, PathSegmentConsumer consumer) { 407 407 this.clip = clip; 408 this.strokeProgress = Math.m in(strokeLength - strokeOffset, 0);408 this.strokeProgress = Math.max(strokeLength - strokeOffset, 0); 409 409 this.strokeLength = strokeLength; 410 410 this.consumer = consumer;
Note:
See TracChangeset
for help on using the changeset viewer.