Files
effectcraft/crates
onlykshitijandClaude Opus 5.5 47f55abb87 ScriptUI: fix script-drawn colours showing too bright
paint_draw passed a script's 0 to 1 colour values to egui::Rgba, which
stores linear light. egui then applied the sRGB curve, so every
fillPath, strokePath and drawString colour drew too bright. For example,
#2B2B2B drew as RGB 114 and #F28C28 as 249, 196, 110.

After Effects treats these values as plain screen colours. Convert them
with the existing to_color32 helper instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:09:51 +05:30
..
2026-10-18 09:35:33 -04:00