Readded layer menu and fixed color picker button
This commit is contained in:
parent
267a66dd32
commit
516f48993e
7 changed files with 586 additions and 522 deletions
|
|
@ -12,6 +12,7 @@ template <typename T> void ColorPickerButton<T>::layout(const Clay_ElementId& id
|
|||
|
||||
GUIStuff::ElementHelpers::color_button(gui, "Color Picker Button", val, {
|
||||
.isSelected = isOpen,
|
||||
.hasAlpha = data.hasAlpha,
|
||||
.onClick = [&]{
|
||||
isOpen = !isOpen;
|
||||
gui.set_to_layout();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue