mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Profile editor - Removed delay in module override
Modules - Streamline update rules and properly honor them in timed updates
This commit is contained in:
1 parent
29e5bc998e
commit
73f76a955d
7 files changed
+127
-79
No files matched your search
@@ -15,6 +15,7 @@ namespace Artemis.Plugins.Modules.Overlay
|
||||
DisplayName = "Overlay";
|
||||
DisplayIcon = "ArrangeBringToFront";
|
||||
DefaultPriorityCategory = ModulePriorityCategory.Overlay;
|
||||
UpdateDuringActivationOverride = false;
|
||||
|
||||
ActivationRequirements.Add(new ProcessActivationRequirement("taskmgr"));
|
||||
ActivationRequirements.Add(new ProcessActivationRequirement("calc"));
|
||||
@@ -22,6 +23,12 @@ namespace Artemis.Plugins.Modules.Overlay
|
||||
{
|
||||
Location = Path.Combine(Directory.GetParent(Environment.GetFolderPath(Environment.SpecialFolder.System)).FullName, "System32")
|
||||
});
|
||||
|
||||
AddTimedUpdate(TimeSpan.FromSeconds(5), DelayedUpdate);
|
||||
}
|
||||
|
||||
private void DelayedUpdate(double obj)
|
||||
{
|
||||
}
|
||||
|
||||
// This is the end of your plugin life cycle.
|
||||
|
||||
Reference in new issue
Block a user