From a1d77af07cd4fb230b838b6981d049c882421554 Mon Sep 17 00:00:00 2001 From: Yann Pringault Date: Tue, 10 Jan 2017 01:23:51 -0800 Subject: [PATCH] Fix minor typo in PixelRatio.md Summary: iphone -> iPhone Closes https://github.com/facebook/react-native/pull/11802 Differential Revision: D4397404 fbshipit-source-id: 116fe8b52de2a1db884ed10863cb1835304f8efb --- docs/PixelRatio.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/PixelRatio.md b/docs/PixelRatio.md index 4fc872922..b09c2b728 100644 --- a/docs/PixelRatio.md +++ b/docs/PixelRatio.md @@ -1,6 +1,6 @@ ## Pixel Grid Snapping -In iOS, you can specify positions and dimensions for elements with arbitrary precision, for example 29.674825. But, ultimately the physical display only have a fixed number of pixels, for example 640×960 for iphone 4 or 750×1334 for iphone 6. iOS tries to be as faithful as possible to the user value by spreading one original pixel into multiple ones to trick the eye. The downside of this technique is that it makes the resulting element look blurry. +In iOS, you can specify positions and dimensions for elements with arbitrary precision, for example 29.674825. But, ultimately the physical display only have a fixed number of pixels, for example 640×960 for iPhone 4 or 750×1334 for iPhone 6. iOS tries to be as faithful as possible to the user value by spreading one original pixel into multiple ones to trick the eye. The downside of this technique is that it makes the resulting element look blurry. In practice, we found out that developers do not want this feature and they have to work around it by doing manual rounding in order to avoid having blurry elements. In React Native, we are rounding all the pixels automatically.