mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Profile adaption - Added support for device hint to 'all' devices
Layouts - Round LED sizes to integers Auto-update - Use modern Windows 10 toasts UI - On shutdown wait 6 seconds longer before force-shutdown UI - Use black icons in notifications on white Windows theme Message service - Added optional toast callbacks
This commit is contained in:
1 parent
5c337e9c5e
commit
96c55e5c03
26 files changed
+886
-674
No files matched your search
@@ -107,6 +107,11 @@ namespace Artemis.Core.Services
|
||||
|
||||
Profile profile = new(profileDescriptor.ProfileModule, profileEntity);
|
||||
InstantiateProfile(profile);
|
||||
if (profileDescriptor.NeedsAdaption)
|
||||
{
|
||||
AdaptProfile(profile);
|
||||
profileDescriptor.NeedsAdaption = false;
|
||||
}
|
||||
|
||||
profileDescriptor.ProfileModule.ChangeActiveProfile(profile, _rgbService.EnabledDevices);
|
||||
SaveActiveProfile(profileDescriptor.ProfileModule);
|
||||
@@ -290,7 +295,7 @@ namespace Artemis.Core.Services
|
||||
profileEntity.Name = $"{profileEntity.Name} - {nameAffix}";
|
||||
|
||||
_profileRepository.Add(profileEntity);
|
||||
return new ProfileDescriptor(profileModule, profileEntity);
|
||||
return new ProfileDescriptor(profileModule, profileEntity) {NeedsAdaption = true};
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in new issue
Block a user