slint/tools/lsp/preview
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
..
connector lsp: No error when sending messages to the Preview fails 2025-09-10 19:35:47 +02:00
ui Tools: Remove the unnecessary 'FF' from generated colors (#9594) 2025-10-02 16:53:22 +03:00
connector.rs live-preview: Update the code handling the menu on apple 2025-07-28 17:13:15 +02:00
debug.rs Fix all format arg inlining 2025-02-06 10:16:20 +01:00
drop_location.rs live-preview: implement undo-redo 2025-08-06 09:42:56 +02:00
element_selection.rs preview: Fix highlighted elements not following items 2025-08-01 18:56:37 +02:00
eval.rs live-preview: Understand conic gradient 2025-10-02 10:38:59 +02:00
ext.rs lsp: Update ElementRcNode to return the full debug info 2025-04-01 16:10:10 +02:00
outline.rs Outline: do a compile-check before allowing drag 2025-08-21 15:37:38 +02:00
preview_data.rs live-preview: Explicitly set live-data values on reload 2025-04-09 09:39:04 +02:00
properties.rs Improve some comments, while reading/debugging the code 2025-09-25 15:34:03 +02:00
ui.rs Tools: Remove the unnecessary 'FF' from generated colors (#9594) 2025-10-02 16:53:22 +03:00
undo_redo.rs live-preview: implement undo-redo 2025-08-06 09:42:56 +02:00