Skip to content

Restore missing default palette colors#2161

Open
SpaceXItalia wants to merge 1 commit into
PintaProject:masterfrom
SpaceXItalia:fix-default-palette-48-colors
Open

Restore missing default palette colors#2161
SpaceXItalia wants to merge 1 commit into
PintaProject:masterfrom
SpaceXItalia:fix-default-palette-48-colors

Conversation

@SpaceXItalia
Copy link
Copy Markdown

This restores the 14 darker colors that were missing from the default palette, bringing PaletteHelper.EnumerateDefaultColors() back to 48 colors.

The restored colors are inserted alongside their matching hue groups so the palette remains ordered consistently with the current layout while recovering the older default palette coverage.

A focused unit test was added to verify that the default palette contains 48 colors.

Fixes #812.

Tested:

  • dotnet test tests/Pinta.Core.Tests/Pinta.Core.Tests.csproj --filter DefaultPaletteHasExpectedColorCount

This PR was prepared with AI assistance using OpenAI Codex and manually reviewed before submission.

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.

default palette missing 14 colors

1 participant