1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

Deprecate Redundant property enabled_focus_mode

of BaseButton
see #41529 for details
this closes #41529
This commit is contained in:
FIF15
2020-10-16 14:14:04 +08:00
parent 6b5102cf90
commit 8311a37ed9
4 changed files with 2 additions and 3 deletions

View File

@@ -326,6 +326,7 @@ void BaseButton::set_enabled_focus_mode(FocusMode p_mode) {
if (!status.disabled) {
set_focus_mode(p_mode);
}
WARN_DEPRECATED_MSG("BaseButton's Enabled Focus Mode property has been deprecated due to redundancy and will be removed in Godot 4.0. Please use Control.set_focus_mode instead.");
}
Control::FocusMode BaseButton::get_enabled_focus_mode() const {