Skip to content

Commit

Permalink
remove restriction for slideshow interval < 1 second
Browse files Browse the repository at this point in the history
  • Loading branch information
d2phap committed Nov 3, 2022
1 parent 1faf258 commit 742f5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Components/ImageGlass.Settings/Configs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ public static class Configs {

#region Slide show
SlideShowInterval = Get<float>(nameof(SlideShowInterval), SlideShowInterval);
if (SlideShowInterval < 1) SlideShowInterval = 5;
if (SlideShowInterval < 0) SlideShowInterval = 5;

SlideShowIntervalTo = Get<float>(nameof(SlideShowIntervalTo), SlideShowIntervalTo);
SlideShowIntervalTo = Math.Max(SlideShowIntervalTo, SlideShowInterval);
Expand Down

0 comments on commit 742f5fb

Please sign in to comment.