astachurski / simbrain

Automatically exported from code.google.com/p/simbrain
1 stars 0 forks source link

Review SelectionEventHandler.drag setPathToRectangle --> append #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Review SelectionEventHandler.drag setPathToRectangle --> append, see r2917.

Original issue reported on code.google.com by heue...@gmail.com on 25 Jun 2014 at 4:23

GoogleCodeExporter commented 9 years ago
PPath.setPathToRectangle was not implemented in Piccolo2D version 3 because the 
Path2D underlying PPath is now effectively immutable

https://code.google.com/p/piccolo2d/source/browse/piccolo2d.java/trunk/core/src/
main/java/org/piccolo2d/nodes/PPath.java#660

It could be implemented in terms of 
clone/updateBoundsFromShape/firePropertyChange like some of the other methods 
though.

I'll create an issue at Piccolo2D to implement this for a future version 3.0.1 
release.

Original comment by heue...@gmail.com on 8 Aug 2014 at 9:27

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/piccolo2d/issues/detail?id=259

Original comment by heue...@gmail.com on 8 Aug 2014 at 9:34