Changeset 1522 for trunk


Ignore:
Timestamp:
03/17/20 10:34:26 (4 years ago)
Author:
bnemhaus
Message:

Fixed issue where final Point ORIGIN was being changed via Point::setPosition. This was being caused when apollo LinkedTrack's where being redrawn.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gio/swing/SwingTextLayoutManager.java

    r1415 r1522  
    292292                                lineDrop += layout.getLeading();
    293293                        }
    294                         start.setY(start.getY() + lineDrop);
    295                         positions.add(new Point(start));
     294                       
     295                        Point startLineDrop = new Point(start.getX(), start.getY() + lineDrop);
     296                        positions.add(startLineDrop);
    296297                }
    297298               
Note: See TracChangeset for help on using the changeset viewer.