mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-21 12:27:02 -04:00
ImageZoom: add nearest neighbour (#1341)
This commit is contained in:
parent
5e71ed286e
commit
4fe2845234
3 changed files with 11 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue