Skip to content

ColorPicker: Allow other color wheels in okhsl mode#99662

Merged
Repiteo merged 1 commit into
godotengine:masterfrom
beicause:color-picker-wheels-in-okhsl
Mar 11, 2025
Merged

ColorPicker: Allow other color wheels in okhsl mode#99662
Repiteo merged 1 commit into
godotengine:masterfrom
beicause:color-picker-wheels-in-okhsl

Conversation

@beicause

@beicause beicause commented Nov 25, 2024

Copy link
Copy Markdown
Contributor

Remove get_shape_override method in ColorMode.
Since #99461, there is no reason to disable other color wheels in okhsl mode. This makes the use of color wheels more flexible.

Closes #102598

@beicause beicause requested a review from a team as a code owner November 25, 2024 05:36
@Chaosus Chaosus added this to the 4.4 milestone Nov 25, 2024
@AThousandShips AThousandShips modified the milestones: 4.4, 4.x Nov 25, 2024
@fire

fire commented Dec 3, 2024

Copy link
Copy Markdown
Member

I'm curious is this flexibility exposed in the UI?

@beicause

beicause commented Dec 5, 2024

Copy link
Copy Markdown
Contributor Author

@fire Yes, it's OK to use other color wheels to pick color and adjust it with the okhsl slider.

@WhalesState

WhalesState commented Jan 10, 2025

Copy link
Copy Markdown
Contributor

There's no reason to force a picker shape for OKHSL sliders.

@fire

fire commented Jan 10, 2025

Copy link
Copy Markdown
Member

Needs a rebase.

remove `get_shape_override` in ColorMode

@Jordyfel Jordyfel 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.

Works as expected

@KoBeWi KoBeWi modified the milestones: 4.x, 4.5 Feb 9, 2025
@akien-mga akien-mga changed the title ColorPicker: allow other color wheels in okhsl mode ColorPicker: Allow other color wheels in okhsl mode Feb 9, 2025
@Repiteo Repiteo merged commit deb9705 into godotengine:master Mar 11, 2025
@Repiteo

Repiteo commented Mar 11, 2025

Copy link
Copy Markdown
Contributor

Thanks!

@beicause beicause deleted the color-picker-wheels-in-okhsl branch March 12, 2025 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting color picker slider mode to OKHSL locks the shape to OKHSL circle with poor UI feedback

8 participants