You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Merge pull request #110817 from KoBeWi/changes_spin_the_box
Update SpinBox arrows on constrain change
This commit is contained in:
@@ -510,6 +510,10 @@ void SpinBox::_notification(int p_what) {
|
||||
_update_buttons_state_for_current_value();
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_READY: {
|
||||
connect(CoreStringName(changed), callable_mp(this, &SpinBox::_update_buttons_state_for_current_value));
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_VISIBILITY_CHANGED:
|
||||
drag.allowed = false;
|
||||
[[fallthrough]];
|
||||
|
||||
Reference in New Issue
Block a user