Lagrange [release]

iPadOS: Use the appropriate scaling factor

=> 7152bf3f36659b670623e1bab84afd462c684d5e

diff --git a/src/ios.m b/src/ios.m
index 08c13660..df333736 100644
--- a/src/ios.m
+++ b/src/ios.m
@@ -541,7 +541,7 @@ int displayRefreshRate_iOS(void) {
 }
 
 float displayScale_iOS(const iWindow *window) {
-    return uiWindow_(window).screen.scale;
+    return uiWindow_(window).screen.nativeScale;
 }
 
 void setupWindow_iOS(iWindow *window) {
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/release/cdiff/7152bf3f36659b670623e1bab84afd462c684d5e
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
30.056292 milliseconds
Gemini-to-HTML Time
0.231043 milliseconds

This content has been proxied by September (ba2dc).