mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Profiles - Improved handling of enabling/disabling plugins
This commit is contained in:
1 parent
88a15abc8c
commit
c75ce321e2
6 files changed
+50
-17
No files matched your search
@@ -46,6 +46,10 @@ namespace Artemis.Core.Services
|
||||
_surfaceService = surfaceService;
|
||||
_profileService = profileService;
|
||||
_loggingLevel = settingsService.GetSetting("Core.LoggingLevel", LogEventLevel.Debug);
|
||||
_frameStopWatch = new Stopwatch();
|
||||
|
||||
UpdatePluginCache();
|
||||
ConfigureJsonConvert();
|
||||
|
||||
_rgbService.Surface.Updating += SurfaceOnUpdating;
|
||||
_rgbService.Surface.Updated += SurfaceOnUpdated;
|
||||
@@ -53,11 +57,6 @@ namespace Artemis.Core.Services
|
||||
|
||||
_pluginService.PluginEnabled += (sender, args) => UpdatePluginCache();
|
||||
_pluginService.PluginDisabled += (sender, args) => UpdatePluginCache();
|
||||
UpdatePluginCache();
|
||||
|
||||
_frameStopWatch = new Stopwatch();
|
||||
|
||||
ConfigureJsonConvert();
|
||||
}
|
||||
|
||||
public TimeSpan FrameTime { get; private set; }
|
||||
|
||||
Reference in new issue
Block a user