mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Use Unicode arrow symbols throughout the editor
This does not apply to text printed to the Output panel, as the fixed-width font may not have the glyph in its character set (or if it does, the arrow character may be hard to read).
This commit is contained in:
parent
f5918a9d35
commit
db920eb7f0
8 changed files with 16 additions and 16 deletions
|
|
@ -6024,7 +6024,7 @@ void VisualShaderEditor::_varying_validate() {
|
|||
if (has_error) {
|
||||
error += "\n";
|
||||
}
|
||||
error += vformat(TTR("Boolean type cannot be used with `%s` varying mode."), "Vertex -> [Fragment, Light]");
|
||||
error += vformat(TTR("Boolean type cannot be used with `%s` varying mode."), U"Vertex → [Fragment, Light]");
|
||||
has_error = true;
|
||||
}
|
||||
|
||||
|
|
@ -6992,8 +6992,8 @@ VisualShaderEditor::VisualShaderEditor() {
|
|||
|
||||
varying_mode = memnew(OptionButton);
|
||||
hb->add_child(varying_mode);
|
||||
varying_mode->add_item("Vertex -> [Fragment, Light]");
|
||||
varying_mode->add_item("Fragment -> Light");
|
||||
varying_mode->add_item(U"Vertex → [Fragment, Light]");
|
||||
varying_mode->add_item(U"Fragment → Light");
|
||||
varying_mode->set_accessibility_name(TTRC("Varying Mode"));
|
||||
varying_mode->connect(SceneStringName(item_selected), callable_mp(this, &VisualShaderEditor::_varying_mode_changed));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue