Skip to content

Use the SpectrumInput widget for the adjustment node Properties panel layouts - #4105

Merged
Keavon merged 1 commit into
masterfrom
adjustment-nodes-spectrum-widgets
May 5, 2026
Merged

Keavon merged 1 commit into
masterfrom
adjustment-nodes-spectrum-widgets

Conversation

@Keavon

@Keavon Keavon commented May 5, 2026

Copy link
Copy Markdown
Member

Each of these nodes have been updated from number range sliders to color spectrum slider inputs for visual intuition:

  • Selective Color
  • Channel Mixer
  • Brightness/Contrast
  • Vibrance
  • Threshold
  • Black & White
  • Hue/Saturation
  • Levels
Updated Nodes

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enhances the node graph properties UI by introducing spectrum sliders for several raster adjustment nodes, including Levels, Hue/Saturation, and Black & White. It refactors the SpectrumInput widget to support a compact 'narrow' mode, renames 'swap' functionality to 'reorder', and adds double-click support for resetting markers. A potential division-by-zero issue was identified in the spectrum_slider_row helper function when calculating marker positions if the value range is zero.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 7 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

@Keavon
Keavon merged commit 9db91a1 into master May 5, 2026
11 checks passed
@Keavon
Keavon deleted the adjustment-nodes-spectrum-widgets branch May 5, 2026 10:42
@Keavon Keavon mentioned this pull request Jun 29, 2026
5 of 51 tasks

This branch was successfully deployed

1 active deployment
graphite-dev (Preview) — 79f34e6c Deployed May 5, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant