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


Ignore:
Timestamp:
2016-08-21T15:38:50+02:00 (4 years ago)
Author:
Don-vip
Message:

fix #13397 - segment did not display anymore middle plus signs (patch by michael2402) - regression of r10827 or r10824 - gsoc-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapViewState.java

    r10856 r10867  
    4747     * @since 10827
    4848     */
    49     public static final int OUTSIDE_LEFT = 3;
     49    public static final int OUTSIDE_LEFT = 4;
    5050
    5151    /**
     
    5353     * @since 10827
    5454     */
    55     public static final int OUTSIDE_RIGHT = 4;
     55    public static final int OUTSIDE_RIGHT = 8;
    5656
    5757    private final Projecting projecting;
     
    499499         */
    500500        public double oneNormInView(MapViewPoint p2) {
    501             return Math.abs(getInViewX() - p2.getInViewX()) + Math.abs(getInViewY()) - p2.getInViewY();
     501            return Math.abs(getInViewX() - p2.getInViewX()) + Math.abs(getInViewY() - p2.getInViewY());
    502502        }
    503503
Note: See TracChangeset for help on using the changeset viewer.