Changeset 10344 in josm for trunk


Ignore:
Timestamp:
2016-06-08T23:10:43+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #12935 - One pixel is out of order in the hatched texture (patch by michael2402) - gsoc-core

File:
1 edited

Legend:

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

    r10340 r10344  
    336336        big.fillRect(0, 0, 15, 15);
    337337        big.setColor(getOutsideColor());
    338         big.drawLine(0, 15, 15, 0);
     338        big.drawLine(-1, 6, 6, -1);
     339        big.drawLine(4, 16, 16, 4);
    339340        Rectangle r = new Rectangle(0, 0, 15, 15);
    340341        hatched = new TexturePaint(bi, r);
Note: See TracChangeset for help on using the changeset viewer.