From dd4b5349cbf0e4d49513dae54cbbbb34231084a9 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 26 Jan 2024 19:22:26 +0800 Subject: [PATCH] revert https://github.com/rustdesk/rustdesk/pull/6980 --- libs/scrap/src/quartz/display.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/scrap/src/quartz/display.rs b/libs/scrap/src/quartz/display.rs index 548e5d952b19..31107e6e25ad 100644 --- a/libs/scrap/src/quartz/display.rs +++ b/libs/scrap/src/quartz/display.rs @@ -71,7 +71,8 @@ impl Display { } pub fn scale(self) -> f64 { - unsafe { BackingScaleFactor() as _ } + // unsafe { BackingScaleFactor() as _ } + 1. } pub fn bounds(self) -> CGRect {