From d2057d9c4f7b6c64ae3e1af9b063dc8ef4b63f3b Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Mon, 27 Jul 2026 21:02:16 -0500 Subject: [PATCH] Fix caret height. DPI is handled in the GetCharPosition method of the text boxes. --- Source/Engine/UI/GUI/Common/TextBoxBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/UI/GUI/Common/TextBoxBase.cs b/Source/Engine/UI/GUI/Common/TextBoxBase.cs index 415a3c9c8..d3dbcc57a 100644 --- a/Source/Engine/UI/GUI/Common/TextBoxBase.cs +++ b/Source/Engine/UI/GUI/Common/TextBoxBase.cs @@ -563,7 +563,7 @@ namespace FlaxEngine.GUI caretPos.X - (caretWidth * 0.5f), caretPos.Y, caretWidth, - height * DpiScale); + height); } }