Changeset 12995 in josm for trunk/test


Ignore:
Timestamp:
2017-10-14T17:52:38+02:00 (2 years ago)
Author:
bastiK
Message:

proper image dimensions in MapCSSRendererTest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/gui/mappaint/MapCSSRendererTest.java

    r12994 r12995  
    230230
    231231            // Add a nice image that highlights the differences:
    232             BufferedImage diffImage = new BufferedImage(IMAGE_SIZE, IMAGE_SIZE, BufferedImage.TYPE_INT_ARGB);
     232            BufferedImage diffImage = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_INT_ARGB);
    233233            for (Point p : differencePoints) {
    234234                diffImage.setRGB(p.x, p.y, 0xffff0000);
Note: See TracChangeset for help on using the changeset viewer.