mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Increase trace screenshot scale factor to 1x (#56136)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56136 Following D97131485, brings iOS screenshot recording to parity with Android. NOTE: Dynamic frame sampling (D97131485) becomes more load bearing after this change, as a 1x scale increases processing overhead significantly. Let's continue dogfooding. Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D97131484 fbshipit-source-id: 4c03842ae22b905a50f989ff68fece7acc289a67
This commit is contained in:
1 parent
e0d1e29d26
commit
90e02fa255
1 file changed
+1
-1
@@ -22,7 +22,7 @@
|
||||
|
||||
using namespace facebook::react;
|
||||
|
||||
static constexpr CGFloat kScreenshotScaleFactor = 0.75;
|
||||
static constexpr CGFloat kScreenshotScaleFactor = 1.0;
|
||||
static constexpr CGFloat kScreenshotJPEGQuality = 0.8;
|
||||
|
||||
namespace {
|
||||
|
||||
Reference in new issue
Block a user