-
-
Notifications
You must be signed in to change notification settings - Fork 808
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 using non-HDR color pickers on gradient options #290
Conversation
…sage's `hdr` field on m_GradationColor1 and m_GradationColor2
…ineSymbolsForGroup` when `UNITY_2023_1_OR_NEWER` is set
… using unity 2021.3 or newer
Thank you for your PR!
|
…cs with custom color picker fields instead of using a scripting define
Thanks for reviewing! This removes the need to recompile the code whenever that option is toggled, and follows the SSOT principle. |
LGTM, Thank you 👍 |
I will make some adjustments to your commit, and it is scheduled to be released as version 5.2.0. |
Sounds great, thank you so much! |
# [5.2.0](5.1.0...5.2.0) (2025-01-07) ### Bug Fixes * `Gradation` properties do not update when a preset is loaded ([edf6943](edf6943)), closes [#291](#291) * an error occurs when saving a preset ([894c561](894c561)), closes [#293](#293) * fix gradation gradient edge (angle gradient) ([0ef6027](0ef6027)) ### Features * `Angle Gradient` gradation supports fixed mode gradient ([7cb8325](7cb8325)) * `Angle Gradient` gradation supports RectTransform pivot ([2f63adf](2f63adf)) * add `Use HDR Color Picker` option for project settings (editor) ([1be0cd4](1be0cd4)), closes [#290](#290) * the `Allow To Modify Mesh Shape` property should remain unchanged when loading a preset ([f7175c0](f7175c0)), closes [#294](#294) * the `Sampling Scale` property should remain unchanged when loading a preset ([238a17d](238a17d)), closes [#292](#292)
🎉 This PR is included in version 5.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
Summary
Added an option to use non-HDR color fields on gradation color 1 and 2
Motivation
In some versions of Unity, HDR color pickers doesn't have a HEX color field. This makes pasting colors somewhat difficult if a game uses an external design software.
Additionally, HDR color pickers may not be in the same color space as the non-HDR color fields, making the color in the field preview inaccurate.
Dependencies
None added
Type of change
Test environment
Checklist
develop
branch