blob: 19cf92321b4b7ecdcda3679729b9cd8805909bbe (
plain) (
tree)
|
|
--- a/src/QuickEditor/EditorRoot.qml
+++ b/src/QuickEditor/EditorRoot.qml
@@ -36,10 +36,10 @@
}
selection = cropRectangle.createObject(parent, {
- "x": xx,
- "y": yy,
+ "x": xx,
+ "y": yy,
"height": hh,
- "width": ww
+ "width": ww
});
cropDisplayCanvas.requestPaint();
@@ -73,8 +73,8 @@
source: "image://snapshot/rawimage";
cache: false;
- height: Window.height;
- width: Window.width;
+ height: Window.height / Screen.devicePixelRatio;
+ width: Window.width / Screen.devicePixelRatio;
fillMode: Image.PreserveAspectFit;
}
|