upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,19 @@
|
||||
namespace VibranceHud;
|
||||
|
||||
public static class SavedVibranceRestore
|
||||
{
|
||||
public static void Apply(IVibranceEngine engine, AppSettings settings)
|
||||
{
|
||||
AppSettings.MigrateVibranceOwnership(settings);
|
||||
if (settings.VibranceChosenByUser)
|
||||
{
|
||||
engine.Vibrance = settings.ResolvedVibrance;
|
||||
}
|
||||
else
|
||||
{
|
||||
engine.SeedVibrance(settings.ResolvedVibrance);
|
||||
}
|
||||
settings.VibrancePercent = engine.Vibrance;
|
||||
settings.VibranceChosenByUser = engine.VibranceChosenByUser;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user