aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/screenshot_ui.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/screenshot_ui.rs b/src/ui/screenshot_ui.rs
index facb9692..6d073220 100644
--- a/src/ui/screenshot_ui.rs
+++ b/src/ui/screenshot_ui.rs
@@ -100,11 +100,10 @@ impl ScreenshotUi {
}
};
- let scale = selection.0.current_scale().integer_scale();
let selection = (
selection.0,
selection.1.loc,
- selection.1.loc + selection.1.size - Size::from((scale, scale)),
+ selection.1.loc + selection.1.size - Size::from((1, 1)),
);
let output_data = screenshots