mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Use ImageEditorInterpolationMode.NearestNeighbor for sticker
This commit is contained in:
parent
4e7b076719
commit
7f5d448c4c
2 changed files with 10 additions and 1 deletions
|
@ -33,7 +33,7 @@ public class ImageDrawingShape : BaseDrawingShape
|
|||
public override ShapeType ShapeType { get; } = ShapeType.DrawingImage;
|
||||
|
||||
public Image Image { get; protected set; }
|
||||
public ImageEditorInterpolationMode ImageInterpolationMode { get; private set; }
|
||||
public ImageEditorInterpolationMode ImageInterpolationMode { get; protected set; }
|
||||
|
||||
public override void OnConfigLoad()
|
||||
{
|
||||
|
|
|
@ -37,6 +37,15 @@ public class StickerDrawingShape : ImageDrawingShape
|
|||
{
|
||||
public override ShapeType ShapeType { get; } = ShapeType.DrawingSticker;
|
||||
|
||||
public override void OnConfigLoad()
|
||||
{
|
||||
ImageInterpolationMode = ImageEditorInterpolationMode.NearestNeighbor;
|
||||
}
|
||||
|
||||
public override void OnConfigSave()
|
||||
{
|
||||
}
|
||||
|
||||
public override void ShowNodes()
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue