mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
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:
parent
e0423cf7c0
commit
8ca64af596
2 changed files with 1 additions and 5 deletions
|
@ -218,7 +218,6 @@ public enum CutOutEffectType // TODO: localize
|
||||||
None,
|
None,
|
||||||
ZigZag,
|
ZigZag,
|
||||||
TornEdge,
|
TornEdge,
|
||||||
Wave,
|
Wave
|
||||||
Gradient
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue