diff options
| author | Hendrik Brucker <hendrik.brucker@mail.de> | 2021-08-11 00:09:48 +0200 |
|---|---|---|
| committer | Hendrik Brucker <hendrik.brucker@mail.de> | 2021-08-11 00:09:48 +0200 |
| commit | 403f4902d02e70eebb684a199a8e2f14d4534ac0 (patch) | |
| tree | 0ac36dad6c57d6d60540ea0dcf32a607ca7bde18 /modules/gdnative/text/text_server_gdnative.cpp | |
| parent | 33fd41472c7fb54280144fe46326cd6ffe9fc8af (diff) | |
| download | redot-engine-403f4902d02e70eebb684a199a8e2f14d4534ac0.tar.gz | |
Various text layout improvements (TextLine, TextParagraph, Label, TextServer)
Diffstat (limited to 'modules/gdnative/text/text_server_gdnative.cpp')
| -rw-r--r-- | modules/gdnative/text/text_server_gdnative.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnative/text/text_server_gdnative.cpp b/modules/gdnative/text/text_server_gdnative.cpp index 81dd570bcb..6bf895d433 100644 --- a/modules/gdnative/text/text_server_gdnative.cpp +++ b/modules/gdnative/text/text_server_gdnative.cpp @@ -498,9 +498,9 @@ bool TextServerGDNative::shaped_text_update_justification_ops(RID p_shaped) { return interface->shaped_text_update_justification_ops(data, (godot_rid *)&p_shaped); } -void TextServerGDNative::shaped_text_overrun_trim_to_width(RID p_shaped_line, float p_width, uint8_t p_clip_flags) { +void TextServerGDNative::shaped_text_overrun_trim_to_width(RID p_shaped_line, float p_width, uint8_t p_trim_flags) { ERR_FAIL_COND(interface == nullptr); - interface->shaped_text_overrun_trim_to_width(data, (godot_rid *)&p_shaped_line, p_width, p_clip_flags); + interface->shaped_text_overrun_trim_to_width(data, (godot_rid *)&p_shaped_line, p_width, p_trim_flags); }; bool TextServerGDNative::shaped_text_is_ready(RID p_shaped) const { |
