InvokeAI/invokeai/frontend
psychedelicious fb50a221f8 fix(ui): fix color input field alpha
Closes #5647

The alpha values in the UI are `0-1` but the backend wants `0-255`.

Previously, this was handled in `parseFIeldValue` when building the graph. In a recent release, field types were refactored and broke the alpha handling.

The logic for handling alpha values is moved into `ColorFieldInputComponent`, and `parseFieldValue` now just does no value transformations.

Though it would be a minor change, I'm leaving this function in because I don't want to change the rest of the logic except when necessary.
2024-02-05 09:28:20 +11:00
..
CLI Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
install Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
merge Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
training Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
web fix(ui): fix color input field alpha 2024-02-05 09:28:20 +11:00
__init__.py Run python black 2023-07-28 09:46:44 -04:00
legacy_launch_invokeai.py isort wip 2023-09-12 13:01:58 -04:00