Skip to content

Feature (UI): Add Invert button for Regional Guidance layers#8876

Open
DustyShoe wants to merge 1 commit intoinvoke-ai:mainfrom
DustyShoe:Feat(UI)/Add-button-to-invert-regional-guidance
Open

Feature (UI): Add Invert button for Regional Guidance layers#8876
DustyShoe wants to merge 1 commit intoinvoke-ai:mainfrom
DustyShoe:Feat(UI)/Add-button-to-invert-regional-guidance

Conversation

@DustyShoe
Copy link
Collaborator

@DustyShoe DustyShoe commented Feb 14, 2026

Summary

Added invert support for Regional Guidance by reusing the existing mask inversion flow.
The invert button and hotkey now work for both Inpaint Mask and Regional Guidance, and the button label is context-aware (Invert Mask vs Invert Region).

One minor issue: The feature shares same icon as "Enable Auto Negative"

Related Issues / Discussions

Closes #8875

QA Instructions

  1. Select an Inpaint Mask layer, click invert, confirm mask flips and button text is Invert Mask.
  2. Select a Regional Guidance layer, click invert, confirm region flips and button text is Invert Region.
  3. With each layer type selected, press Shift+V and confirm inversion works the same as button click.
  4. Select a non-mask layer (e.g. raster/control), confirm invert button is hidden and hotkey does nothing.

Merge Plan

Simple merge.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • 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 Feb 14, 2026
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.

[enhancement]: Invert Inpaint Mask / Invert Regional Guidence

1 participant