From 954037f84c539af569375ff2369379d323637770 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 6 Oct 2024 22:48:01 -0700
Subject: [PATCH] Place the cursor when first clicking on the editbox
---
examples/editbox.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/examples/editbox.c b/examples/editbox.c
index 71226660..3a2c4ad9 100644
--- a/examples/editbox.c
+++ b/examples/editbox.c
@@ -691,7 +691,6 @@ static bool HandleMouseDown(EditBox *edit, float x, float y)
if (!edit->has_focus) {
EditBox_SetFocus(edit, true);
- return true;
}
/* Set the cursor position */