You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
This commit is contained in:
@@ -154,11 +154,11 @@ bool AcceptDialog::get_close_on_escape() const {
|
||||
}
|
||||
|
||||
void AcceptDialog::set_autowrap(bool p_autowrap) {
|
||||
label->set_autowrap_mode(p_autowrap ? Label::AUTOWRAP_WORD : Label::AUTOWRAP_OFF);
|
||||
label->set_autowrap_mode(p_autowrap ? TextServer::AUTOWRAP_WORD : TextServer::AUTOWRAP_OFF);
|
||||
}
|
||||
|
||||
bool AcceptDialog::has_autowrap() {
|
||||
return label->get_autowrap_mode() != Label::AUTOWRAP_OFF;
|
||||
return label->get_autowrap_mode() != TextServer::AUTOWRAP_OFF;
|
||||
}
|
||||
|
||||
void AcceptDialog::register_text_enter(Control *p_line_edit) {
|
||||
|
||||
Reference in New Issue
Block a user