We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f336467 commit 04e0218Copy full SHA for 04e0218
web/libs/editor/src/components/ImageView/ImageView.jsx
@@ -507,6 +507,7 @@ const PixelGridLayer = observer(({ item }) => {
507
</Layer>
508
);
509
});
510
+
511
/**
512
* Component that creates an overlay on top
513
* of the image to support Magic Wand tool
@@ -1313,7 +1314,7 @@ const ImageLayer = observer(({ item }) => {
1313
1314
useEffect(() => {
1315
const node = konvaImageRef.current;
1316
if (node && loadedImage) {
- node.cache();
1317
+ node.cache({ pixelRatio: 1 });
1318
node.filters([Konva.Filters.Brighten, Konva.Filters.Contrast]);
1319
node.brightness(brightness);
1320
node.contrast(contrast);
0 commit comments