Changeset 1143 for trunk/src/org/expeditee/items/Item.java
- Timestamp:
- 09/18/18 12:00:17 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Item.java
r1102 r1143 2149 2149 2150 2150 public void setPosition(Point position) { 2151 setPosition(position. x, position.y);2151 setPosition(position.getX(), position.getY()); 2152 2152 } 2153 2153 … … 2881 2881 invalidateCommonTraitForAll(ItemAppearence.PreMoved); 2882 2882 2883 _x = (float) (origin. x + ratio * (_x - origin.x));2884 _y = (float) (origin. y + ratio * (_y - origin.y));2883 _x = (float) (origin.getX() + ratio * (_x - origin.getX())); 2884 _y = (float) (origin.getY() + ratio * (_y - origin.getY())); 2885 2885 invalidateBounds(); 2886 2886 for (Line line : getLines())
Note:
See TracChangeset
for help on using the changeset viewer.