Paint panel polish: sticky controls, selection outlines, category auto-select#429
Merged
Conversation
…tlines, auto-select - MaterialPaintPanel owns its scroll: the eraser/reset row stays pinned and the category tabs stick to the top, so only the material list scrolls. - Selected catalog swatch + active scene-material card use the same `ring-1 ring-primary ring-inset` outline as item/preset tiles. - Choosing a material category auto-selects its first material. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…he grid Layout is now: fixed eraser/reset + category tabs (no longer sticky-inside- scroll), a single scrolling catalog grid, and an always-visible scene-material footer. The custom-material "+" moved out of the colors-only grid cell onto the scene-material section header, so a custom material can be added from any category (creates a blank scene material, selects it as the brush, opens its inline editor). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Four small paint-panel (Build sidebar) refinements requested before prod:
pinned; only the material list scrolls (the panel owns its own scroll instead
of scrolling the whole block).
same
ring-1 ring-primary ring-insethighlight as item/preset tiles in thecatalog (was a different
ring-2 ring-primary-foreground).painting with gets that same outline, so it's clear which one is the brush.
material, so the brush is immediately ready.
Scoped to
MaterialPaintPanel/MaterialPicker/SceneMaterialList; nobehavioral change to painting itself.
How to test
bun dev, enter paint mode (Build sidebar).Screenshots / screen recording
Visual change; will be verified on the consuming private-editor preview.
Checklist
bun devbun checkto verify)mainbranch🤖 Generated with Claude Code