Independent spinbox arrow step precision

Rebased by EIREXE

This work has been kindly sponsored by IMVU & EIRTeam.
This commit is contained in:
Jóhannes Gunnar Þorsteinsson 2019-11-15 15:04:34 +00:00 committed by Álex Román
parent 787bb0f269
commit ba35cff303
3 changed files with 25 additions and 5 deletions

View file

@ -52,6 +52,7 @@ class SpinBox : public Range {
String prefix;
String suffix;
double custom_arrow_step = 0.0;
void _line_edit_input(const Ref<InputEvent> &p_event);
@ -95,6 +96,8 @@ public:
bool get_update_on_text_changed() const;
void apply();
void set_custom_arrow_step(const double p_custom_arrow_step);
double get_custom_arrow_step() const;
SpinBox();
};