There are some issues with the size input boxes in the top toolbar.
Line, Brush Size
Rectangle, Outline Size
Shape, Outline Size
Text, Font size
(side note:
capitalize "family" in: "Font family:"
and "size" in "Font size:"
To match the other tools toolbar names)
Issues
The size input boxes:
Accept values of: 0 or less.
There seems to be a limit of 1,
because the shapes and text are drawn with the size 1,
even though the input box values are 0 or less.
Accept the characters: -, + and . (period)
as the only input.
In this state, the shapes have no size, and they don't appear on the canvas.
The text seems to use a default font size of 10.
Moves the shape when the input box has focus and the left and right arrow keys are pressed
left and right moves the cursor (as expected), but they also move the shape on the canvas.
up and down in/decreases the value (as expected),
the shape doesn't move on the canvas (expected)
Notes
The Line Tools, Brush Size can be changed to 0 or less,
by clicking the down arrow at the right side of the input box,
or by selecting the input box and holding down the down arrow key.
The other tools size input boxes stop at 1 as the minimum value.
Expected
The Size input boxes should be limited to: 1 or greater
If the sizes only should be integers, then . (period) should be excluded (just like the other symbols).
Or if decimals are allowed, then it probably should require an initial integer.
Exclude the + and - symbols, since it only makes sense to have 1 or greater values.
The Line Tools, Brush Size input box should behave like the other tools, and stop at 1 as the minimum value.
The shape should not move when the input box is focused and the left and right arrow keys are pressed.
There are some issues with the size input boxes in the top toolbar.
Issues
The size input boxes:
-
,+
and.
(period) as the only input. In this state, the shapes have no size, and they don't appear on the canvas. The text seems to use a default font size of 10.Notes
The Line Tools, Brush Size can be changed to 0 or less, by clicking the down arrow at the right side of the input box, or by selecting the input box and holding down the down arrow key.
The other tools size input boxes stop at 1 as the minimum value.
Expected
.
(period) should be excluded (just like the other symbols). Or if decimals are allowed, then it probably should require an initial integer.+
and-
symbols, since it only makes sense to have 1 or greater values.System Info
Luna Paint v0.8.1 VSCode
Windows 21H1