Ignore:
Timestamp:
2016-03-08T01:22:33+01:00 (8 years ago)
Author:
Don-vip
Message:

make MapScaler and SizeButton implement Accessible interface, add unit tests, fix checkstyle violation

File:
1 edited

Legend:

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

    r9947 r9954  
    204204            ScaleList scaleList = nativeScaleLayer.getNativeScales();
    205205            if (scaleList != null) {
    206                 if ( PROP_ZOOM_INTERMEDIATE_STEPS.get()) {
     206                if (PROP_ZOOM_INTERMEDIATE_STEPS.get()) {
    207207                    scaleList = scaleList.withIntermediateSteps(PROP_ZOOM_RATIO.get());
    208208                }
     
    323323    }
    324324
     325    /**
     326     * Returns the text describing the distance in meter that correspond to 100 px on screen.
     327     * @return the text describing the distance in meter that correspond to 100 px on screen
     328     */
    325329    public String getDist100PixelText() {
    326330        return getDistText(getDist100Pixel());
Note: See TracChangeset for help on using the changeset viewer.