mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 03:19:56 +00:00
Cleaned up ProfileService render condition
This commit is contained in:
1 parent
b39dd14526
commit
5877e4dd20
2 files changed
+3
-2
No files matched your search
@@ -125,7 +125,7 @@ public sealed class Profile : ProfileElement
|
||||
profileScript.OnProfileRendering(canvas, canvas.LocalClipBounds);
|
||||
|
||||
using var opacityPaint = new SKPaint();
|
||||
if (Configuration.FadeInAndOut && Opacity != 1)
|
||||
if (Configuration.FadeInAndOut && Opacity < 1)
|
||||
opacityPaint.Color = new SKColor(0, 0, 0, (byte)(255d * Easings.CubicEaseInOut(Opacity)));
|
||||
|
||||
canvas.SaveLayer(opacityPaint);
|
||||
|
||||
Reference in new issue
Block a user