slint/tools
Benoit Canet f1f9ff63cf importer: Fix build compilation errors.
A crate that disapeared was probably providing the
used trait.

Switch the transparency comparison code to use:
https://docs.rs/float-cmp/0.9.0/float_cmp/.

Given I a not a graphic programmer the patch uses
value that seems meaningfull according to the doc
of the float_cmp crate.

Excerpt from the documentation:

"""For most cases, I recommend you use a smallish
integer for the ulps parameter (1 to 5 or so),
and a similar small multiple of the floating point’s
EPSILON constant (1.0 to 5.0 or so), but there are
plenty of cases where this is insufficient."""

Signed-off-by: Benoît Canet <benoit@nodalink.com>
2021-07-29 08:08:09 +02:00
..
compiler Update license date 2021-07-02 15:55:54 +02:00
figma_import importer: Fix build compilation errors. 2021-07-29 08:08:09 +02:00
fmt Janitor: Fix clippy::redundant_static_lifetimes 2021-07-23 13:48:52 +02:00
lsp Fix warning about unused import 2021-07-23 13:57:55 +02:00
online_editor Update license date 2021-07-02 15:55:54 +02:00
syntax_updater Janitor: Fix clippy::redundant_static_lifetimes 2021-07-23 13:48:52 +02:00
viewer Janitor: Fix clippy::declare_interior_mutable_const 2021-07-21 19:44:57 +02:00