upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,13 @@
|
||||
namespace VibranceHud.Theming;
|
||||
|
||||
public static class BackgroundMotionPolicy
|
||||
{
|
||||
public static bool ShouldPlay(bool pictureMoves, bool windowVisible, bool minimized, bool inForeground, bool gameRunning, bool goingAway, bool reducedMotion, bool movingOrSizing = false)
|
||||
{
|
||||
if ((((pictureMoves & windowVisible) && !minimized) & inForeground) && !gameRunning && !goingAway && !reducedMotion)
|
||||
{
|
||||
return !movingOrSizing;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user