Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API.
This commit is contained in:
parent
e5a1640cf0
commit
cbe3a2dcb7
35 changed files with 395 additions and 334 deletions
|
|
@ -526,7 +526,7 @@ void Button::_bind_methods() {
|
|||
|
||||
Button::Button(const String &p_text) {
|
||||
text_buf.instantiate();
|
||||
text_buf->set_flags(TextServer::BREAK_MANDATORY);
|
||||
text_buf->set_break_flags(TextServer::BREAK_MANDATORY);
|
||||
set_mouse_filter(MOUSE_FILTER_STOP);
|
||||
|
||||
set_text(p_text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue