Skip to content

Allow GraphicOverlay.increaseBrightness() to accept named colors#356

Merged
bmatthieu3 merged 2 commits into
cds-astro:developfrom
tomdonaldson:increase_brightness_fix
Mar 5, 2026
Merged

Allow GraphicOverlay.increaseBrightness() to accept named colors#356
bmatthieu3 merged 2 commits into
cds-astro:developfrom
tomdonaldson:increase_brightness_fix

Conversation

@tomdonaldson
Copy link
Copy Markdown
Contributor

Fixes #355

This fix uses the already-existing Color.standardizeColor() to allow GraphicOverlay.increaseBrightness() to accept named colors. This means that hover colors are now computed properly in overlays with named colors.

This video shows the new behavior of the script in #355:

hover-fixed.mp4

@bmatthieu3
Copy link
Copy Markdown
Collaborator

Thanks for the fast fix

@bmatthieu3 bmatthieu3 merged commit 6dc1722 into cds-astro:develop Mar 5, 2026
2 checks passed
@tomdonaldson tomdonaldson deleted the increase_brightness_fix branch March 6, 2026 16:59
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.

2 participants