- Timestamp:
- 2016-01-02T00:54:32+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/server/OverpassServerPreference.java
r9242 r9252 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.gui.preferences.server; 2 3 -
trunk/src/org/openstreetmap/josm/tools/ImageResource.java
r9251 r9252 164 164 realHeight = svg.getHeight(); 165 165 /* extend small images to the possible maximum, may get reduced later again */ 166 if (maxSize.width != -1 && realWidth < maxSize.width) {166 if (maxSize.width != -1 && realWidth < maxSize.width) { 167 167 realHeight *= maxSize.width/realWidth; 168 168 realWidth = maxSize.width; 169 169 } 170 if (maxSize.height != -1 && realHeight < maxSize.height) {170 if (maxSize.height != -1 && realHeight < maxSize.height) { 171 171 realWidth *= maxSize.height/realHeight; 172 172 realHeight = maxSize.height;
Note:
See TracChangeset
for help on using the changeset viewer.