diff options
Diffstat (limited to 'src/plugins/imageZoom/components')
| -rw-r--r-- | src/plugins/imageZoom/components/Magnifier.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageZoom/components/Magnifier.tsx b/src/plugins/imageZoom/components/Magnifier.tsx index 75bd2e1..4e5b667 100644 --- a/src/plugins/imageZoom/components/Magnifier.tsx +++ b/src/plugins/imageZoom/components/Magnifier.tsx @@ -156,7 +156,7 @@ export const Magnifier: React.FC<MagnifierProps> = ({ instance, size: initialSiz return ( <div - className="vc-imgzoom-lens" + className={`vc-imgzoom-lens ${settings.store.nearestNeighbour ? "nearest-neighbor" : ""}`} style={{ opacity, width: size.current + "px", |
