Shapes: Octagon: Allow stretching

No real reason to lock to 1:1 aspect ratio; the others do not
(except circle and square).
This commit is contained in:
Bill Kendrick 2023-04-09 21:53:23 -07:00
parent f615eaedcb
commit 649cde39ed
2 changed files with 8 additions and 5 deletions

View file

@ -7,6 +7,10 @@ Various contributors (see below, and AUTHORS.txt)
https://tuxpaint.org/
2023.April.8 (0.9.30)
* Improvements to Shape tool:
---------------------------
* Octagon allows aspect ratio change
* Localization Updates:
---------------------
* Chinese (Simplified) translation

View file

@ -4,7 +4,7 @@
For Tux Paint
List of available shapes.
Copyright (c) 2002-2022 by Bill Kendrick and others
Copyright (c) 2002-2023 by Bill Kendrick and others
bill@newbreedsoftware.com
https://tuxpaint.org/
@ -23,8 +23,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
June 14, 2002 - December 11, 2022
$Id$
June 14, 2002 - April 9, 2023
*/
@ -118,8 +117,8 @@ const int shape_locked[NUM_SHAPES] = {
0, /* Hexagon */
0, /* Heptagon */
0, /* Heptagon */
1, /* Octagon *//* FIXME: Consider unlocking? -bjk 2022.01.21 */
1, /* Octagon *//* FIXME: Consider unlocking? -bjk 2022.01.21 */
0, /* Octagon */
0, /* Octagon */
0, /* Rhombus */
0, /* Rhombus */
0, /* 3 points star */