You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00: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