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

feat(ui): regional prompting followups #6247

Merged
merged 11 commits into from
Apr 20, 2024

Conversation

psychedelicious
Copy link
Collaborator

Summary

  • Hook up SD1.5 graphs. HRF doesn't break, but I'm not sure if it really does what you want... I haven't attempted to integrate regions into HRF.
  • Fix undo history with layer color picker to group these changes
  • Less eye-stabbing default colors
  • Some perf improvements to bbox calculations
  • You can now select layers with the move tool to drag em around
Screen.Recording.2024-04-20.at.2.47.06.pm.mov

Related Issues / Discussions

n/a

QA Instructions

Have a play

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)

- Keep track of whether the bbox needs to be recalculated (e.g. had lines/points added)
- Keep track of whether the bbox has eraser strokes - if yes, we need to do the full pixel-perfect bbox calculation, otherwise we can use the faster getClientRect
- Use comparison rather than Math.min/max in bbox calculation (slightly faster)
- Return `null` if no pixel data at all in bbox
Seems to be the same speed and it's less complex.
@github-actions github-actions bot added the frontend PRs that change frontend files label Apr 20, 2024
@psychedelicious psychedelicious enabled auto-merge (rebase) April 20, 2024 04:53
@psychedelicious psychedelicious merged commit d582203 into main Apr 20, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/feat/ui/regional-prompting-2 branch April 20, 2024 04:54
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