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

Allow creating ColorPickers without using the hardcoded sliders #537

Open
RamuneNeptune opened this issue Mar 8, 2024 · 6 comments
Open

Comments

@RamuneNeptune
Copy link
Contributor

Describe the feature
Allow creating [ColorPicker]'s without using these hardcoded sliders
image

Purpose/Usage
Modders can then use their own customizable sliders to adjust the value of the [ColorPicker]

@JKohlman
Copy link
Contributor

What exactly do you mean by "use their own customizable sliders"?

I think it should be easy enough to just use a simple color picker (the one with arrows around it) and just create 3 integer [Slider]s below it with onchanges to reflect in it. If that's sort of what you're looking for the potential exists for a [ColorDisplay] or something which doesn't have just options and is just the colored box.

@RamuneNeptune
Copy link
Contributor Author

Ye just the colored box

@JKohlman
Copy link
Contributor

Can you give a sample of what you're actually planning on doing? Was it just changing the names?

@RamuneNeptune
Copy link
Contributor Author

Like that where the green is the color display
image

@JKohlman
Copy link
Contributor

JKohlman commented Mar 11, 2024

So is the ordering just your concern or do you want names? (RE: ordering, I do think the color should go first as generally the "overarching" item goes first like a mods section label)

@RamuneNeptune
Copy link
Contributor Author

The naming, but I also do prefer the color being below

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants