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

+16
View File
@@ -0,0 +1,16 @@
using System;
namespace VibranceHud.DarkBoost;
public sealed record DarkBoostSetup(string Name, DarkBoostTint Tint, int Strength, int BlackLevel)
{
public DarkBoostSetup Clamped()
{
return this with
{
Name = (string.IsNullOrWhiteSpace(Name) ? "Setup" : Name.Trim()),
Strength = Math.Clamp(Strength, 0, 100),
BlackLevel = Math.Clamp(BlackLevel, 0, 100)
};
}
}