Changeset 10466 in josm


Ignore:
Timestamp:
2016-06-23T23:28:49+02:00 (5 years ago)
Author:
wiktorn
Message:

Get intermediate steps when needed.

Closes: #13035

File:
1 edited

Legend:

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

    r10458 r10466  
    282282            ScaleList scaleList = nativeScaleLayer.getNativeScales();
    283283            if (scaleList != null) {
     284                if (PROP_ZOOM_INTERMEDIATE_STEPS.get()) {
     285                    scaleList = scaleList.withIntermediateSteps(PROP_ZOOM_RATIO.get());
     286                }
    284287                Scale snapscale = scaleList.getSnapScale(scale, PROP_ZOOM_RATIO.get(), floor);
    285288                return snapscale != null ? snapscale.getScale() : scale;
Note: See TracChangeset for help on using the changeset viewer.