DioxusLabs / blitz

A radically modular HTML/CSS rendering engine
Apache License 2.0
2.14k stars 44 forks source link

Fix building and few crashes on Linux #64

Closed DavidHusicka closed 5 months ago

DavidHusicka commented 5 months ago

Project could not be compiled on Linux due to missing import. This import was added.

Crashes when resizing were also common so they were solved with an early return.

Lastly, the get_cursor function sometimes unwraped a None variant on an Option so the unwrap was replaced with an error propagation syntax.