pixel-editor
pixel-editor copied to clipboard
Canvas size no limitations
Describe the bug So right now, create new pixel doesn't have any restrains. I can put anything there, and in result editor breaks, there is no canvas.
To Reproduce Steps to reproduce the behavior:
- Go to https://apps.lospec.com/pixel-editor/
- Enter -123 to width and 9999 to height
- Click Create
Expected behavior Input should forbit user to enter invalid values.
Screenshots
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Brave
- Version: 1.35.103 Chromium: 98.0.4758.102 (Official Build) (64-bit)](https://brave.com/latest/)
Note to myself: write a few input validation functions so that we can reuse them
Can you please assign this issue to me?
Done, thanks for offering :)