mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-01-02 10:43:31 +00:00
Slight folder performance tweak
This commit is contained in:
parent
7a50249335
commit
e0951ca0f5
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user