polotno-project / polotno-board

Roadmap and bug-tracker for the Polotno project.
https://polotno.dev/
9 stars 1 forks source link

Validate workspace size #1

Closed lavrton closed 3 years ago

lavrton commented 3 years ago

The size of the <Workspace /> component depends on the parent. In some cases (like unexpected styles setup) width/height can be == 0. So the workspace is not visible. We should show a warning message into the console when such a case is detected. So users understand what is going wrong.

lavrton commented 3 years ago

Implemented with polotno@0.18.0.