diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-08-11 11:46:58 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-08-11 13:55:11 +0300 |
commit | 93b39fad2f3e653242ba78d20803450b1c29d586 (patch) | |
tree | d30bd81653d90938166ba1f227502d8e97a190e8 | |
parent | e9e9e92e4864f9dc34e24f37cb93c88cc3649104 (diff) |
Change LineEdit secret character from "*" to "•".
-rw-r--r-- | doc/classes/LineEdit.xml | 4 | ||||
-rw-r--r-- | scene/gui/line_edit.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml index c06118e621..5217014698 100644 --- a/doc/classes/LineEdit.xml +++ b/doc/classes/LineEdit.xml @@ -221,8 +221,8 @@ <member name="secret" type="bool" setter="set_secret" getter="is_secret" default="false"> If [code]true[/code], every character is replaced with the secret character (see [member secret_character]). </member> - <member name="secret_character" type="String" setter="set_secret_character" getter="get_secret_character" default=""*""> - The character to use to mask secret input (defaults to "*"). Only a single character can be used as the secret character. + <member name="secret_character" type="String" setter="set_secret_character" getter="get_secret_character" default=""•""> + The character to use to mask secret input (defaults to "•"). Only a single character can be used as the secret character. </member> <member name="selecting_enabled" type="bool" setter="set_selecting_enabled" getter="is_selecting_enabled" default="true"> If [code]false[/code], it's impossible to select the text using mouse nor keyboard. diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index a828479b0c..4d5ebf441c 100644 --- a/scene/gui/line_edit.h +++ b/scene/gui/line_edit.h @@ -95,7 +95,7 @@ private: String text; String placeholder; String placeholder_translated; - String secret_character = "*"; + String secret_character = U"•"; String ime_text; Point2 ime_selection; |