### Godot version

4.2.stable

### System information

Godot v4.2.stable - Windows 10.0.22621 - GLES3 (Compatibility) - Intel(R) Iris(R) Plus Graphics (Intel Corporation; 27.20.100.9621) - Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 Threads)

### Issue description

This warning gets spammed when scrolling any slider on the color picker of the editor using the mouse wheel.
The value of the slider gets affected nevertheless
```
scene/gui/control.cpp:2012 - This control can't grab focus. Use set_focus_mode() to allow a control to get focus.
```

### Steps to reproduce

For example having a script that exports a color
and scrolling the A slider in the Inspector
```
@export var color : Color
```
![image](https://github.com/godotengine/godot/assets/43796250/0447e952-a8b2-48ae-ac89-3ef248699b22)


### Minimal reproduction project

N/A
if (is_joypad_event) {
				if (!input->is_action_just_pressed("ui_up", true)) {
					return;
				}
				set_process_internal(true);
			}
			set_value(get_value() + (custom_step >= 0 ? custom_step : get_step()));
			accept_event();
		} else if (p_event->is_action_pressed("ui_down", true)) {
			if (orientation != VERTICAL) {
				return;
			}
			if (is_joypad_event) {
				if (!input->is_action_just_pressed("ui_down", true)) {
					return;
				}
				set_process_internal(true);
			}
			set_value(get_value() - (custom_step >= 0 ? custom_step : get_step()));
			accept_event();
		} else if (p_event->is_action("ui_home", true) && p_event->is_pressed()) {
			set_value(get_min());
			accept_event();
		} else if (p_event->is_action("ui_end", true) && p_event->is_pressed()) {
			set_value(get_max());
			accept_event();
		}
	}
}
void Slider::_notification(int p_what) {