Ignore:
Timestamp:
2017-12-26T17:50:55+01:00 (6 years ago)
Author:
michael2402
Message:

See #15310: Replace use of dx/dy in bookmark loading/storing code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/TileSourceDisplaySettings.java

    r12846 r13243  
    171171     * @return The displacement.
    172172     * @since 10571
     173     * @see #getDisplacement()
    173174     */
    174175    public double getDx() {
    175         return displacement.east();
     176        return getDisplacement().east();
    176177    }
    177178
     
    180181     * @return The displacement.
    181182     * @since 10571
     183     * @see #getDisplacement()
    182184     */
    183185    public double getDy() {
    184         return displacement.north();
     186        return getDisplacement().north();
    185187    }
    186188
     
    195197
    196198    /**
    197      * Sets an offset bookmark to use.
     199     * Sets an offset bookmark to use. Loads the displacement from the bookmark.
    198200     *
    199201     * @param offsetBookmark the offset bookmark, may be null
Note: See TracChangeset for help on using the changeset viewer.