mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Remove deprecation warning for BaseButton.enabled_focus_mode
There were too many instances of false positives that are difficult
to fix. The note in the class reference has been clarified instead.
(cherry picked from commit 43da1790c8)
This commit is contained in:
committed by
Rémi Verschelde
parent
eb504880f1
commit
d8138c6f4a
@@ -326,7 +326,6 @@ 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