diff --git a/components/ratgdo/number/ratgdo_number.cpp b/components/ratgdo/number/ratgdo_number.cpp index 1838afd..d16f3e4 100644 --- a/components/ratgdo/number/ratgdo_number.cpp +++ b/components/ratgdo/number/ratgdo_number.cpp @@ -41,6 +41,8 @@ namespace ratgdo { this->number_type_ = number_type_; if (this->number_type_ == RATGDO_OPENING_DURATION || this->number_type_ == RATGDO_CLOSING_DURATION) { this->traits.set_step(0.1); + this->traits.set_min_value(0.0); + this->traits.set_max_value(180.0); } }