This commit is contained in:
TinyHerm committed 2026-11-24 23:40:08 +03:00
commit 1c7a8cf25f
579 files changed
+83196

No files matched your search

+20
View File
@@ -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;
}
}