Changeset 1541


Ignore:
Timestamp:
11/09/20 14:10:12 (3 years ago)
Author:
bnemhaus
Message:

Lines, Dots and LinkMarks were being messed up due to an antialiasing issue. This was being caused by Line::paintArrow turning it on without turning it off. All other instances of code that turned it on, also turned it off after completing its work; this brings this method in line with all those other cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/Line.java

    r1402 r1541  
    537537                g.setAntialiasing(true);
    538538                g.drawPolygon(arrow.close(), null, null, 0.0f, arrowFill, arrowColour, arrowStroke);
    539        
     539                g.setAntialiasing(false);
    540540        }
    541541
Note: See TracChangeset for help on using the changeset viewer.