mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Slight folder performance tweak
This commit is contained in:
1 parent
18c1b533b9
commit
738c090833
1 file changed
+1
-4
@@ -78,10 +78,7 @@ namespace Artemis.Core.Models.Profile
|
||||
|
||||
public override void Render(double deltaTime, SKCanvas canvas, SKImageInfo canvasInfo)
|
||||
{
|
||||
if (!Enabled)
|
||||
return;
|
||||
|
||||
if (Path == null)
|
||||
if (!Enabled || Path == null || !Children.Any(c => c.Enabled))
|
||||
return;
|
||||
|
||||
if (_folderBitmap == null)
|
||||
|
||||
Reference in new issue
Block a user