* Some work to avoid leaving Magic previews on the screen when unfinished

click/move/click (e.g., by clicking a tool, hitting a command key, or
  leaving the window) in mouse accessibility mode.
  NOTE: This currently 'undoes' any magic, and not just previews;
  tools will need to 'register' the fact that they create previews.
* Adjustment of 'backlogged event queue' handling when dealing with mouse
  motion.  (Rather than stop listening to motion events after spinning in
  the "while (SDL_PollEvent())" loop for 250ms, it now skips every few
  events.)
  This prevents circle-drawings from appearing as "D". Now, they start
  appearing as polygon-like shapes.
This commit is contained in:
William Kendrick 2011-04-26 18:47:25 +00:00
parent 853b0a3ebe
commit 868cba5794
2 changed files with 38 additions and 20 deletions

View file

@ -8,7 +8,7 @@ http://www.tuxpaint.org/
$Id$
2011.April.18 (0.9.22)
2011.April.26 (0.9.22)
* New Tools:
----------
* Label - A tool to add text to a drawing, which can be modified or
@ -118,6 +118,12 @@ $Id$
-------------------
* Quicker prompt window pop-up animation.
* Slightly improved mouse motion handling when Tux Paint is very busy
drawing or previewing. (e.g., when drawing a circle, you could often
end up with a "D" shape... now, you get more of a regular polygon shape
if Tux Paint is taking too long to draw. It skips some motion events,
rather than ignoring all motion events after the first 1/4th second.)
* Deleting files from Tux Paint's 'Open' dialog now moves them to
the user's Trash folder.
FIXME: Only on freedesktop.org systems (e.g., Linux)