-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
ColorPicker
remove unused children and fix sample bugs.
#101100
Conversation
Pretty sure changing base type breaks compatibility, which is why the redundant VBoxContainer had to exist. |
What is the use case of the |
c611b66
to
eac0d3b
Compare
Reverted the base class to |
The "use case" is that ColorPicker doesn't need to be used with popup. It's a stand-alone node, ColorPickerButton only wraps it. |
e056cd0
to
e44ae88
Compare
e44ae88
to
b4ac8f7
Compare
Check the title, should i open a new issue for each fix to track them? |
There is a behavior change, which is questionable. Everything else looks fine.
I think it's ok, but the |
Remove an unused `VBoxContainer`. Remove 3 unused children from grid (Label, Slider, SpinBox). Ignore sample input when old color is not displayed. Fix current color overbright position.
b4ac8f7
to
6caadd5
Compare
Applied all the suggestions. |
Thanks! |
ColorPicker
's sample left half side changes the color to black when old color is not displayed. #88073Remove an unused
VBoxContainer
.Remove a redundant
VBoxContainer
and add it's children directly to main vbox.Remove 3 unused children from grid (Label, Slider, SpinBox).
Fix current color overbright position.
Added color mode buttons and sliders to a another
VBoxContainer
to hide both whensliders_visible
is false.Use
tab_hovered
instead oftab_pressed
when hovering a mode button.