You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Add some limits on the Editor Settings
This commit is contained in:
@@ -6235,6 +6235,7 @@ void TextEdit::_bind_methods() {
|
||||
BIND_ENUM_CONSTANT(MENU_MAX);
|
||||
|
||||
GLOBAL_DEF("gui/timers/text_edit_idle_detect_sec", 3);
|
||||
ProjectSettings::get_singleton()->set_custom_property_info("gui/timers/text_edit_idle_detect_sec", PropertyInfo(Variant::REAL, "gui/timers/text_edit_idle_detect_sec", PROPERTY_HINT_RANGE, "0,10,0.01,or_greater")); // No negative numbers
|
||||
}
|
||||
|
||||
TextEdit::TextEdit() {
|
||||
|
||||
Reference in New Issue
Block a user