treeform / fidget

Figma based UI library for nim, with HTML and OpenGL backends.
MIT License
768 stars 33 forks source link

Keep right/bottom space on cMax and fix crash on certain buttons #7

Closed MnlPhlp closed 4 years ago

MnlPhlp commented 4 years ago

I had a crash when pressing my dim-screen button because key was a negative number. I think those keys can be ignored because they are used to control the OS/DE and not the application.

If the cMax constraints try to replicate what the right constraints in figma do, they should keep the space on the right/bottom size of elements.

treeform commented 4 years ago

Nice, thank you for fixing the bugs!