Changeset 15598 in josm for trunk/src/org


Ignore:
Timestamp:
2019-12-17T20:28:59+01:00 (5 years ago)
Author:
stoecker
Message:

fix off-by-one of my last commit

File:
1 edited

Legend:

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

    r15596 r15598  
    800800            } else {
    801801                long frames = Math.round(milliseconds * fps / 1000);
    802                 if(frames < 1)
     802                if(frames <= 1)
    803803                    zoomTo(newCenter);
    804804                else
Note: See TracChangeset for help on using the changeset viewer.