Ctrl+click to pick colors immediately
A keyboard shortcut is now available for picking colors from the canvas more quickly. Hold either (left or right) [Ctrl] key while clicking, and the color selector option will appear. Release the mouse button over a color on the canvas to choose it (or outside the canvas to abort). Closes https://sourceforge.net/p/tuxpaint/feature-requests/209/ Also, * Don't play 'bubble' paint sound when color picker or selector are aborted (e.g., via their "Back" buttons). * Replace many instances of "NUM_COLOR - 1" and "NUM_COLOR - 2" (which correspond to color chose via picker (palette) and selector (canvas), respectively) with #define's that represent them. (Avoid magic numbers.)
This commit is contained in:
parent
076b15fd20
commit
3b4d2fc8f2
2 changed files with 531 additions and 478 deletions
999
src/tuxpaint.c
999
src/tuxpaint.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue