mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Layer brushes - Make enable-disable process consistent with plugins
This commit is contained in:
1 parent
6327107277
commit
33bb3ffa6c
37 files changed
+325
-128
No files matched your search
@@ -25,7 +25,7 @@ namespace Artemis.Plugins.Devices.WS281X
|
||||
|
||||
public PluginSettings Settings { get; }
|
||||
|
||||
protected override void EnablePlugin()
|
||||
public override void EnablePlugin()
|
||||
{
|
||||
var definitions = Settings.GetSetting<List<DeviceDefinition>>("DeviceDefinitions");
|
||||
if (definitions.Value == null)
|
||||
@@ -49,7 +49,7 @@ namespace Artemis.Plugins.Devices.WS281X
|
||||
_rgbService.AddDeviceProvider(RgbDeviceProvider);
|
||||
}
|
||||
|
||||
protected override void DisablePlugin()
|
||||
public override void DisablePlugin()
|
||||
{
|
||||
// TODO: Remove the device provider from the surface
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user