From e500a524843f3cd6411a595a58a83844a7faffe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Sme=CC=8Cly=CC=81?= Date: Wed, 2 Oct 2024 02:51:07 +0200 Subject: [PATCH] Fix indentation --- clay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clay.h b/clay.h index 21c1f72..53bbbbc 100644 --- a/clay.h +++ b/clay.h @@ -3093,7 +3093,7 @@ void Clay_SetPointerState(Clay_Vector2 position, bool isPointerDown) { Clay_LayoutElementHashMapItem *mapItem = Clay__GetHashMapItem(currentElement->id); // TODO I wish there was a way around this, maybe the fact that it's essentially a binary tree limits the cost, have to measure if ((mapItem && Clay__PointIsInsideRect(position, mapItem->boundingBox)) || (!mapItem && Clay__PointIsInsideRect(position, CLAY__INIT(Clay_BoundingBox) {0,0, currentElement->dimensions.width, currentElement->dimensions.height}))) { if (mapItem) { - Clay__ElementIdArray_Add(&Clay__pointerOverIds, mapItem->elementId); + Clay__ElementIdArray_Add(&Clay__pointerOverIds, mapItem->elementId); } if (currentElement->elementType == CLAY__LAYOUT_ELEMENT_TYPE_TEXT) {