From 4fe284523444f5da8594dc42a2c8601a9c73b777 Mon Sep 17 00:00:00 2001 From: Syncx <47534062+Syncxv@users.noreply.github.com> Date: Wed, 28 Jun 2023 06:41:19 +1000 Subject: ImageZoom: add nearest neighbour (#1341) --- src/plugins/imageZoom/index.tsx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/plugins/imageZoom/index.tsx') diff --git a/src/plugins/imageZoom/index.tsx b/src/plugins/imageZoom/index.tsx index d4adcdc..00c9eee 100644 --- a/src/plugins/imageZoom/index.tsx +++ b/src/plugins/imageZoom/index.tsx @@ -50,6 +50,12 @@ export const settings = definePluginSettings({ default: true, }, + nearestNeighbour: { + type: OptionType.BOOLEAN, + description: "Use Nearest Neighbour Interpolation when scaling images", + default: false, + }, + zoom: { description: "Zoom of the lens", type: OptionType.SLIDER, -- cgit