Remove the Gradient effect type for now

It's troublesome to implement and will probably look kind of weird anyway.
This commit is contained in:
Niels Martin Hansen 2022-08-17 21:04:04 +02:00
parent e0423cf7c0
commit 8ca64af596
2 changed files with 1 additions and 5 deletions

View file

@ -218,7 +218,6 @@ public enum CutOutEffectType // TODO: localize
None, None,
ZigZag, ZigZag,
TornEdge, TornEdge,
Wave, Wave
Gradient
} }
} }

View file

@ -238,9 +238,6 @@ private static Bitmap ApplyCutOutEffect(Bitmap bmp, AnchorStyles effectEdge, Cut
case CutOutEffectType.Wave: case CutOutEffectType.Wave:
return WavyEdges(bmp, effectSize, effectSize * 5, effectEdge); return WavyEdges(bmp, effectSize, effectSize * 5, effectEdge);
case CutOutEffectType.Gradient:
return bmp;
} }
throw new NotImplementedException(); // should not be reachable throw new NotImplementedException(); // should not be reachable