Changeset 5660 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2013-01-03T20:59:47+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ImageryMenu.java
r5463 r5660 6 6 7 7 import java.awt.Component; 8 import java.awt.Toolkit; 8 9 import java.awt.event.ActionEvent; 9 10 import java.util.List; … … 72 73 public ImageryMenu() { 73 74 super(tr("Imagery")); 75 int screenHeight = Toolkit.getDefaultToolkit().getScreenSize().height; 76 int menuItemHeight = singleOffset.getPreferredSize().height; 77 MenuScroller.setScrollerFor(this, (screenHeight / menuItemHeight)-1); 74 78 MapView.addLayerChangeListener(this); 75 79 }
Note:
See TracChangeset
for help on using the changeset viewer.