Skip to content

Commit b00d3be

Browse files
sbuggayfacebook-github-bot
authored andcommitted
Make perf overlay more transparent (facebook#53904)
Summary: Pull Request resolved: facebook#53904 Adds more transparency to the background of the perf overlay, we got some feedback about it visually obscuring elements behind it. {F1982191377} {F1982191388} Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D83037721 fbshipit-source-id: e70c799ea7942c6aea886e9a3580e324c4238048
1 parent 4acb3d3 commit b00d3be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/perfmonitor/PerfMonitorOverlayView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ internal class PerfMonitorOverlayView(
164164
shape = GradientDrawable.RECTANGLE
165165
setColor(Color.BLACK)
166166
cornerRadius = dpToPx(14.5f)
167-
alpha = (0.8 * 255).toInt()
167+
alpha = (0.4 * 255).toInt()
168168
setStroke(dpToPx(1f).toInt(), COLOR_OVERLAY_BORDER)
169169
}
170170
showDividers = LinearLayout.SHOW_DIVIDER_MIDDLE

0 commit comments

Comments
 (0)