Skip to content

Commit

Permalink
Correct the lower and upper bounds in the delay dialog, they're now s…
Browse files Browse the repository at this point in the history
…hown in the correct time unit
  • Loading branch information
Marko19907 committed May 4, 2024
1 parent 7c09db5 commit 5e42e14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/delay_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ impl DelayDialog {

let number_select_data = NumberSelectData::Int {
value: (current_value / 1000) as i64,
step: 1, // 1 second steps
max: MAX_DELAY as i64, // 30 minutes
min: LOWEST_DELAY as i64, // 1 second
step: 1, // 1 second steps
max: MAX_DELAY as i64 / 1000, // 30 minutes
min: LOWEST_DELAY as i64 / 1000, // 1 second
};
app.number_select.set_data(number_select_data);

Expand Down

0 comments on commit 5e42e14

Please sign in to comment.