summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index ce9d730e..c07feaf9 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1289,7 +1289,12 @@ static float pixelRatio_Window_(const iWindow *d) {
1289#endif 1289#endif
1290 1290
1291static float displayScale_Window_(const iWindow *d) { 1291static float displayScale_Window_(const iWindow *d) {
1292#if defined (iPlatformMsys) 1292#if defined (iPlatformApple)
1293 iUnused(d);
1294 /* Apple UI sizes are fixed and only scaled by pixel ratio. */
1295 /* TODO: iOS text size setting? */
1296 return 1.0f;
1297#elif defined (iPlatformMsys)
1293 iUnused(d); 1298 iUnused(d);
1294 return desktopDPI_Win32(); 1299 return desktopDPI_Win32();
1295#else 1300#else