From 66bbb8121514ad5cbed43f7cc9ebb86a4700a9d7 Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Thu, 2 Apr 2026 09:06:55 +1100 Subject: [PATCH] [Documentation] Update floating .attachPoints graphic in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d160f5e..d340753 100644 --- a/README.md +++ b/README.md @@ -1876,11 +1876,11 @@ You can mentally visualise this as finding a point on the floating container, th For example: -"Attach the LEFT_CENTER of the floating container to the RIGHT_TOP of the parent" +"Attach the LEFT_BOTTOM of the floating container to the CENTER_CENTER of the parent" -`CLAY(CLAY_ID("Floating"), { .floating = { .attachPoints = { .element = CLAY_ATTACH_POINT_LEFT_CENTER, .parent = CLAY_ATTACH_POINT_RIGHT_TOP } } });` +`CLAY(CLAY_ID("Floating"), { .floating = { .attachPoints = { .element = CLAY_ATTACH_POINT_LEFT_BOTTOM, .parent = CLAY_ATTACH_POINT_CENTER_CENTER } } });` -![Screenshot 2024-08-23 at 11 53 24 AM](https://github.com/user-attachments/assets/ebe75e0d-1904-46b0-982d-418f929d1516) +Clay README Graphics ---