Changeset 10470 in josm
- Timestamp:
- 2016-06-24T01:34:30+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r10458 r10470 691 691 692 692 protected int estimateTileCacheSize() { 693 Dimension screenSize = GuiHelper.getMaxi umScreenSize();693 Dimension screenSize = GuiHelper.getMaximumScreenSize(); 694 694 int height = screenSize.height; 695 695 int width = screenSize.width; -
trunk/src/org/openstreetmap/josm/gui/util/GuiHelper.java
r10420 r10470 474 474 * @return the size of maximum screen, in pixels, or 800x600 475 475 * @see Toolkit#getScreenSize 476 * @since 9576 477 */ 478 479 public static Dimension getMaxiumScreenSize() { 476 * @since 10470 477 */ 478 public static Dimension getMaximumScreenSize() { 480 479 if (GraphicsEnvironment.isHeadless()) { 481 480 return new Dimension(800, 600);
Note:
See TracChangeset
for help on using the changeset viewer.