Fix touch scrolling bug on official website

This commit is contained in:
Nic Barker 2024-10-12 13:16:25 +13:00
parent 9a8775751f
commit 4ce3105f58

View File

@ -395,7 +395,7 @@ CLAY_WASM_EXPORT("UpdateDrawFrame") Clay_RenderCommandArray UpdateDrawFrame(floa
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) {
scrollbarData.mouseDown = false;