summaryrefslogtreecommitdiffstats
path: root/kde/patch/spectacle/spectacle_hidpi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde/patch/spectacle/spectacle_hidpi.patch')
-rw-r--r--kde/patch/spectacle/spectacle_hidpi.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/kde/patch/spectacle/spectacle_hidpi.patch b/kde/patch/spectacle/spectacle_hidpi.patch
new file mode 100644
index 0000000..19cf923
--- /dev/null
+++ b/kde/patch/spectacle/spectacle_hidpi.patch
@@ -0,0 +1,28 @@
+--- 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;
+ }
+
+