Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): normalize infill alpha to 0-255 when building infill nodes #7172

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

psychedelicious
Copy link
Collaborator

Summary

The browser/UI uses float 0-1 for alpha, while backend uses 0-255. We need to normalize the value when building the infill nodes for outpaint.

Related Issues / Discussions

https://discord.com/channels/1020123559063990373/1149506274971631688/1298593181348265984

QA Instructions

Change the infill alpha in Canvas compositing settings when outpainting. The transparency for the infill should work as expected.

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@github-actions github-actions bot added the frontend PRs that change frontend files label Oct 23, 2024
The browser/UI uses float 0-1 for alpha, while backend uses 0-255. We need to normalize the value when building the infill nodes for outpaint.
@psychedelicious psychedelicious merged commit 3947d4a into main Oct 24, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/ui/alpha-value-range branch October 24, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants