mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user