mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-23 18:06:04 +00:00
Fix touch scrolling bug on official website
This commit is contained in:
parent
9a8775751f
commit
4ce3105f58
@ -395,7 +395,7 @@ CLAY_WASM_EXPORT("UpdateDrawFrame") Clay_RenderCommandArray UpdateDrawFrame(floa
|
|||||||
|
|
||||||
Clay__debugViewHighlightColor = (Clay_Color) {105,210,231, 120};
|
Clay__debugViewHighlightColor = (Clay_Color) {105,210,231, 120};
|
||||||
|
|
||||||
Clay_SetPointerState((Clay_Vector2) {mousePositionX, mousePositionY}, isMouseDown);
|
Clay_SetPointerState((Clay_Vector2) {mousePositionX, mousePositionY}, isMouseDown || isTouchDown);
|
||||||
|
|
||||||
if (!isMouseDown) {
|
if (!isMouseDown) {
|
||||||
scrollbarData.mouseDown = false;
|
scrollbarData.mouseDown = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user