author | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Wed, 8 Jul 2009 20:48:55 +0000 (20:48 +0000) | ||
committer | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Wed, 8 Jul 2009 20:48:55 +0000 (20:48 +0000) | ||
commit | baf409c2522ef70bf08798c4795d7e9c2dbf79f5 | |
tree | 318e291e6e214a34c90dcad23f858a18a2fce868 | tree | snapshot |
parent | 2999a8c604d02808c82893eae9ed5418bc937442 | commit | diff |
Don't create rectangles that have a zero x or y dimension. When snapping for example to the same point twice then just cancel the rect creation (Fixes bug #375975). And while we're at it, make the rectangle tool escapeable by pressing esc. See also rev. #21706 which was similar but applied to ellipses instead.
src/rect-context.cpp | diff | blob | history |