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
@@ -129,7 +129,11 @@ namespace Artemis.Core.Models.Profile
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (!IsActivated) return;
|
||||
if (!IsActivated)
|
||||
return;
|
||||
|
||||
foreach (var layer in GetAllLayers())
|
||||
layer.Deactivate();
|
||||
|
||||
IsActivated = false;
|
||||
OnDeactivated();
|
||||
|
||||
Reference in new issue
Block a user