From fcfbc1d541b664e4b9517474658e47476ecff034 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Mon, 7 Jul 2025 15:22:45 +0800 Subject: [PATCH] Fix typo in `TextParagraph.direction` hint string --- scene/resources/text_paragraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/resources/text_paragraph.cpp b/scene/resources/text_paragraph.cpp index 9defe82ec06..7516c0813cf 100644 --- a/scene/resources/text_paragraph.cpp +++ b/scene/resources/text_paragraph.cpp @@ -38,7 +38,7 @@ void TextParagraph::_bind_methods() { ClassDB::bind_method(D_METHOD("get_direction"), &TextParagraph::get_direction); ClassDB::bind_method(D_METHOD("get_inferred_direction"), &TextParagraph::get_inferred_direction); - ADD_PROPERTY(PropertyInfo(Variant::INT, "direction", PROPERTY_HINT_ENUM, "Auto,Light-to-right,Right-to-left"), "set_direction", "get_direction"); + ADD_PROPERTY(PropertyInfo(Variant::INT, "direction", PROPERTY_HINT_ENUM, "Auto,Left-to-right,Right-to-left"), "set_direction", "get_direction"); // If compiling the editor with TextServerFallback only, // `--doctool` would change the default value to `TextServer::DIRECTION_LTR`. // Force it so that it's consistent regardless of the backend.