Skip to content

Commit

Permalink
Merge pull request #17 from Marko19907/14-allow-low-delay-distance-va…
Browse files Browse the repository at this point in the history
…lues

Allowed values of delay and distance as low as 1
  • Loading branch information
Marko19907 authored Dec 3, 2023
2 parents 90bba21 + 77ab9ea commit 40fb2e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/delay_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl DelayDialog {
value: (current_value / 1000) as i64,
step: 1, // 1 second
max: 1800, // 30 minutes
min: 5, // 5 seconds
min: 1, // 1 second
};
app.number_select.set_data(number_select_data);

Expand Down
4 changes: 2 additions & 2 deletions src/distance_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ impl DistanceDialog {
value: current_value_x as i64,
step: 1,
max: smallest_x as i64 / 4,
min: 5,
min: 1,
};
app.number_select_x.set_data(number_select_data_x);

let number_select_data_y = NumberSelectData::Int {
value: current_value_y as i64,
step: 1,
max: smallest_y as i64 / 4,
min: 5,
min: 1,
};
app.number_select_y.set_data(number_select_data_y);

Expand Down
1 change: 1 addition & 0 deletions src/mover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ lazy_static! {
[
"#32768", // OLEDShift right click menu
"NarratorHelperWindow", // A small circle/line, more info here: https://github.com/Marko19907/OLEDShift/issues/12
"TopLevelWindowForOverflowXamlIsland", // "Hidden Icon Menu", the flyout menu that appears when you click the arrow on the taskbar
].iter().cloned().collect()
};
}
Expand Down

0 comments on commit 40fb2e0

Please sign in to comment.