diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-12-04 22:15:36 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-12-04 22:15:36 +0000 |
| commit | dfad76343452004bb06c92d19262d22dc3cb9e76 (patch) | |
| tree | ee32acb8d552e6ac3577180e52628abc1fa76309 /src/ui/tools/pencil-tool.cpp | |
| parent | Account for Inkscape's custom arcs (which do not have cx/cy) (diff) | |
| download | inkscape-dfad76343452004bb06c92d19262d22dc3cb9e76.tar.gz inkscape-dfad76343452004bb06c92d19262d22dc3cb9e76.zip | |
Prevent setting zero radius
While the spec explicitly allows for that (and it should disable
rendering of the element) Inkscape does not allow setting a zero
radius at runtime (it works fine when opening an existing file).
If we still force this during runtime we end up with a "ghost"
ellipse on canvas which looks as if it had the old radius but has
control points according to the zero radius and has the added bonus
of not being movable (or rather being movable but snapping back
back immediately when released) until updating the radius with a
valid number again which finally moves the ellipse to wherever it
should have been.
Diffstat (limited to 'src/ui/tools/pencil-tool.cpp')
0 files changed, 0 insertions, 0 deletions
