SpinBox: Fix custom_arrow_step by snapping it to step

This commit is contained in:
LuoZhihao 2025-07-06 18:08:48 +08:00
parent e1b4101e34
commit 453f4f13e4
3 changed files with 4 additions and 10 deletions

View file

@ -76,7 +76,6 @@ class SpinBox : public Range {
String suffix;
String last_text_value;
double custom_arrow_step = 0.0;
bool use_custom_arrow_step = false;
void _line_edit_input(const Ref<InputEvent> &p_event);