You've already forked godot
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user