gschem: Fix rendering artifacts when object creation is cancelled
commit50365b0d5da45201a834574441cdc02f0181db2a
authorPeter Clifton <pcjc2@cam.ac.uk>
Fri, 26 Aug 2011 04:58:58 +0000 (26 05:58 +0100)
committerPeter Clifton <pcjc2@cam.ac.uk>
Fri, 26 Aug 2011 04:58:58 +0000 (26 05:58 +0100)
tree40e95173232e5861b23f800d812ce591d8ff562a
parent6633fa2583170a30032d57962d64a6e56a3fe324
gschem: Fix rendering artifacts when object creation is cancelled

Object creation cancelled due to dragging out an invalid sized object
(zero radius circle, box or picture with zero width or height), left
an impression of the rubber-band lines on the screen.

Cancelling object creation with the escape key does not cause this
effect, as it triggers a state change which includes a complete redraw
of the schematic page.

TODO: Actually write the code!
gschem/FIXME [new file with mode: 0644]