mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make perf overlay more transparent (#53904)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4acb3d3e7c
commit
b00d3be572
+1
-1
@@ -164,7 +164,7 @@ internal class PerfMonitorOverlayView(
|
||||
shape = GradientDrawable.RECTANGLE
|
||||
setColor(Color.BLACK)
|
||||
cornerRadius = dpToPx(14.5f)
|
||||
alpha = (0.8 * 255).toInt()
|
||||
alpha = (0.4 * 255).toInt()
|
||||
setStroke(dpToPx(1f).toInt(), COLOR_OVERLAY_BORDER)
|
||||
}
|
||||
showDividers = LinearLayout.SHOW_DIVIDER_MIDDLE
|
||||
|
||||
Reference in New Issue
Block a user