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): clip shift-draw strokes to bbox when clip to bbox enabled #7813

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

psychedelicious
Copy link
Collaborator

Summary

When holding shift to draw straight lines, if clip to bbox is enabled, we should clip to bbox.

Bug was introduced when clipping was totally disabled for shift-drawing in #7651.

Related Issues / Discussions

Closes #7809

QA Instructions

Try it out

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)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Mar 20, 2025
@psychedelicious psychedelicious force-pushed the psyche/fix/ui/shift-draw-bbox-clip branch from 5b6dd08 to c97d698 Compare March 20, 2025 04:57
@psychedelicious psychedelicious enabled auto-merge (rebase) March 20, 2025 21:12
@psychedelicious psychedelicious force-pushed the psyche/fix/ui/shift-draw-bbox-clip branch from c97d698 to 44f6072 Compare March 20, 2025 21:12
@psychedelicious psychedelicious merged commit e78cf88 into main Mar 20, 2025
15 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/ui/shift-draw-bbox-clip branch March 20, 2025 21:14
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.

[bug]: Shift stroke and bound box
2 participants