upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace VibranceHud;
|
||||
|
||||
public static class AnimationClockPolicy
|
||||
{
|
||||
public static int IntervalFor(TimeSpan sinceLastInput, bool movingPicture)
|
||||
{
|
||||
if (!movingPicture && !(sinceLastInput < TimeSpan.FromSeconds(3.0)))
|
||||
{
|
||||
return 200;
|
||||
}
|
||||
return 47;
|
||||
}
|
||||
|
||||
public static bool ShouldRun(bool visible, bool minimized, bool movingOrSizing, bool goingAway, bool active)
|
||||
{
|
||||
return (visible && !minimized && !movingOrSizing && !goingAway) & active;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user