Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make brightness bar optional #44

Merged
merged 4 commits into from
Jan 31, 2023

Conversation

JogahCR
Copy link
Contributor

@JogahCR JogahCR commented Oct 19, 2022

Follow-up for the feedback provided in #27, the brightness bar change will be isolated for review once #27 gets merged.

@Composable
fun HarmonyColorPicker(
modifier: Modifier = Modifier,
harmonyMode: ColorHarmonyMode,
color: HsvColor,
fixedBrightness: Float? = null,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please, to keep consistency with ClassicColorPicker, please rename it to showBrightnessBar.

if a user wants a specific brightness, it should set showBrightnessBar to false and set the brightness in the provided color.

Copy link
Contributor

Choose a reason for hiding this comment

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

@ffgiraldez thanks for pointing that out. I didn't notice ClassicColorPicker had that. Updated now

@ffgiraldez ffgiraldez requested a review from riggaroo October 25, 2022 12:14
@riggaroo riggaroo merged commit c4d6a15 into godaddy:main Jan 31, 2023
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.

4 participants