slint/api/node/rust
Nigel Breslaw 9c20beadba
Tools: Remove the unnecessary 'FF' from generated colors (#9594)
* Tools: Remove the unecessary 'FF' from generated colors

When colors in most UI tools are 100% alpha the extra 'FF' is auto cut 
off for readability. e.g. #000000FF becomes #000000. Since introducing 
the new color pickers this has been the case on the UI side. However the 
code generator for gradients was inconsistent and would still add in the
unnecessary 'FF'. This fixes that and makes generated gradient code
tidier.

* Fix correct tests

* Fix

* [autofix.ci] apply automated fixes

* Fix

* Fix

* Fix

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-02 16:53:22 +03:00
..
interpreter Node.JS: Fixed panic when converting brushes to colors 2025-07-02 09:13:42 +02:00
types Tools: Remove the unnecessary 'FF' from generated colors (#9594) 2025-10-02 16:53:22 +03:00
interpreter.rs Improve source structure in the node api (#6164) 2024-09-30 08:49:35 +00:00
lib.rs chore: A few clippy fixes 2025-05-09 13:25:38 +02:00
types.rs Improve source structure in the node api (#6164) 2024-09-30 08:49:35 +00:00