Changeset 4552 in josm for trunk/src/org


Ignore:
Timestamp:
2011-10-31T16:01:59+01:00 (12 years ago)
Author:
stoecker
Message:

fix #6720 - initial refresh of slippy map download

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
2 edited

Legend:

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

    r4531 r4552  
    382382        setDisplayToFitMapMarkers();
    383383        zoomOut();
     384        repaint();
    384385    }
    385386}
  • trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java

    r4380 r4552  
    1111import java.awt.FlowLayout;
    1212import java.awt.Font;
     13import java.awt.Graphics;
    1314import java.awt.GridBagConstraints;
    1415import java.awt.GridBagLayout;
     
    135136    }
    136137
     138    /* This should not be necessary, but if not here, repaint is not always correct in SlippyMap! */
     139    public void paint(Graphics g) {
     140        tpDownloadAreaSelectors.getSelectedComponent().paint(g);
     141        super.paint(g);
     142    }
     143
    137144    protected JPanel buildButtonPanel() {
    138145        JPanel pnl = new JPanel();
Note: See TracChangeset for help on using the changeset viewer.