Ignore:
Timestamp:
2017-08-25T03:29:37+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.main.panel. Replacement: gui.MainApplication.getMainPanel()

File:
1 edited

Legend:

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

    r12637 r12642  
    198198        JMenu subMenu = Main.main.menu.imagerySubMenu;
    199199        int heightUnrolled = 30*(getItemCount()+subMenu.getItemCount());
    200         if (heightUnrolled < Main.main.panel.getHeight()) {
     200        if (heightUnrolled < MainApplication.getMainPanel().getHeight()) {
    201201            // add all items of submenu if they will fit on screen
    202202            int n = subMenu.getItemCount();
Note: See TracChangeset for help on using the changeset viewer.