Skip to content

Commit

Permalink
Add a minimum value to period setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Dec 7, 2023
1 parent f65b9ee commit c387683
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class DraggableNT4WidgetContainer extends DraggableWidgetContainer {
child: DialogTextInput(
onSubmit: (value) {
double? newPeriod = double.tryParse(value);
if (newPeriod == null) {
if (newPeriod == null || newPeriod <= 0.01) {
return;
}

Expand Down

0 comments on commit c387683

Please sign in to comment.