cloudhead / rx

👾 Modern and minimalist pixel editor
https://discord.gg/xHggPjfsS9
GNU General Public License v3.0
3.1k stars 109 forks source link

Prevent setting either frame dimension to 0 #5

Closed phrohdoh closed 5 years ago

phrohdoh commented 5 years ago

This prevents the user from setting either dimension to a size of 0 which is invalid and will currently crash the program.


Side note: I love this project so far!

cloudhead commented 5 years ago

Thanks!

phrohdoh commented 5 years ago

Rebased onto 449e3d9 and made the requested changes!

cloudhead commented 5 years ago

:+1: