mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-02 21:03:00 +00:00
Otherwise computing the fit_size will lead to NaN and then panic. The size is empty in the wasm case when loading an html image and it isn't loaded yet. We will be called again because the htmlimage has an internal property that will be changed when it is loaded |
||
|---|---|---|
| .. | ||
| LICENSES | ||
| renderer | ||
| build.rs | ||
| Cargo.toml | ||
| event_loop.rs | ||
| glcontext.rs | ||
| glwindow.rs | ||
| lib.rs | ||
| README.md | ||
| wasm_input_helper.rs | ||
NOTE: This library is an internal crate of the Slint project.
This crate should not be used directly by applications using Slint.
You should use the slint crate instead.
WARNING: This crate does not follow the semver convention for versioning and can
only be used with version = "=x.y.z" in Cargo.toml.