Added richtext clipboard to Emscripten and fixed emscripten compilation warning
This commit is contained in:
parent
8830386dc0
commit
9eeee0dfff
5 changed files with 66 additions and 26 deletions
|
|
@ -26,7 +26,7 @@ template <typename T> class ColorPicker : public Element {
|
|||
.layout = {
|
||||
.sizing = {.width = CLAY_SIZING_GROW(0), .height = CLAY_SIZING_GROW(0) }
|
||||
},
|
||||
.aspectRatio = 1.0f,
|
||||
.aspectRatio = {1.0f},
|
||||
.custom = { .customData = this }
|
||||
}) {
|
||||
selection.update(Clay_Hovered(), io.mouse.leftClick, io.mouse.leftHeld);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue