mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Use const Array ref in set_structured_text_bidi_override_options
This commit is contained in:
parent
9283328fe7
commit
1a7be001d2
16 changed files with 36 additions and 36 deletions
|
|
@ -739,16 +739,16 @@ TextServer::StructuredTextParser Label3D::get_structured_text_bidi_override() co
|
|||
return st_parser;
|
||||
}
|
||||
|
||||
void Label3D::set_structured_text_bidi_override_options(Array p_args) {
|
||||
void Label3D::set_structured_text_bidi_override_options(const Array &p_args) {
|
||||
if (st_args != p_args) {
|
||||
st_args = p_args;
|
||||
st_args = Array(p_args);
|
||||
dirty_text = true;
|
||||
_queue_update();
|
||||
}
|
||||
}
|
||||
|
||||
Array Label3D::get_structured_text_bidi_override_options() const {
|
||||
return st_args;
|
||||
return Array(st_args);
|
||||
}
|
||||
|
||||
void Label3D::set_uppercase(bool p_uppercase) {
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ public:
|
|||
void set_structured_text_bidi_override(TextServer::StructuredTextParser p_parser);
|
||||
TextServer::StructuredTextParser get_structured_text_bidi_override() const;
|
||||
|
||||
void set_structured_text_bidi_override_options(Array p_args);
|
||||
void set_structured_text_bidi_override_options(const Array &p_args);
|
||||
Array get_structured_text_bidi_override_options() const;
|
||||
|
||||
void set_uppercase(bool p_uppercase);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue