Skip to content

Commit 90e02fa

Browse files
huntiemeta-codesync[bot]
authored andcommitted
Increase trace screenshot scale factor to 1x (#56136)
Summary: Pull Request resolved: #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
1 parent e0d1e29 commit 90e02fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/React/DevSupport/RCTFrameTimingsObserver.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
using namespace facebook::react;
2424

25-
static constexpr CGFloat kScreenshotScaleFactor = 0.75;
25+
static constexpr CGFloat kScreenshotScaleFactor = 1.0;
2626
static constexpr CGFloat kScreenshotJPEGQuality = 0.8;
2727

2828
namespace {

0 commit comments

Comments
 (0)