Fixing formatting in BlurBehind
MODIFY
WalletWasabi.Fluent/Controls/BlurBehind.cs
WalletWasabi.Fluent/Controls/BlurBehind.cs
@@ -37,7 +37,7 @@ public class CustomBlurBehind : Control
[CanBeNull] private static SKShader s_acrylicNoiseShader;
- class BlurBehindRenderOperation : ICustomDrawOperation
+ private class BlurBehindRenderOperation : ICustomDrawOperation
{
private readonly ImmutableExperimentalAcrylicMaterial _material;
private readonly Rect _bounds;
@@ -55,7 +55,6 @@ public class CustomBlurBehind : Control
public bool HitTest(Point p) => _bounds.Contains(p);
-
static SKColorFilter CreateAlphaColorFilter(double opacity)
{
if (opacity > 1)
@@ -86,7 +85,6 @@ public class CustomBlurBehind : Control
return;
}
-
using var backgroundSnapshot = skia.SkSurface.Snapshot();
using var backdropShader = SKShader.CreateImage(backgroundSnapshot, SKShaderTileMode.Clamp,
SKShaderTileMode.Clamp, currentInvertedTransform);

Fixing formatting in BlurBehind