Changeset 12456 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2017-07-07T22:32:46+02:00 (7 years ago)
Author:
michael2402
Message:

See #14926: Flip the direction of repeat-image-phase to the old one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r12455 r12456  
    676676
    677677            // The start of the next image
    678             double imageStart = -((inLineOffset + startOffset) % repeat);
     678            // It is shifted by startOffset.
     679            double imageStart = -((inLineOffset - startOffset + repeat) % repeat);
    679680
    680681            while (imageStart < segmentLength) {
Note: See TracChangeset for help on using the changeset viewer.