mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-01-26 08:08:58 +01:00
0e57487774
* Preserve full names for shortened modifiers The PR https://github.com/cmdr2/stable-diffusion-ui/pull/779/files added code to preserve the full names of truncated image modifiers, but only in the "short image modifiers" code path. This PR fixes that by preserving the full car name for truncated modifier names too. * Pick the full modifier name The previous code selected the entire innerText from the modifier-car-label element, but for truncated modifiers this would also include the tooltip text. This modification fixes that by only picking specifically the full modifier name. * Only pick the full modifier name Previous code would pick up the tooltip text too, causing a mismatch of strings in the comparison. * Display the truncated image modifier names What we process and compare is always the full image modifier string, but we still want to display a shortened string when applicable. |
||
---|---|---|
.. | ||
easydiffusion | ||
hotfix | ||
media | ||
plugins/ui | ||
index.html | ||
main.py | ||
modifiers.json |