浏览代码

[RN] Don't display background colors underneath text on WelcomePage

master
Lyubomir Marinov 9 年前
父节点
当前提交
a1639b67a5
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      react/features/welcome/components/styles.js

+ 7
- 0
react/features/welcome/components/styles.js 查看文件

@@ -66,6 +66,13 @@ export const styles = createStyleSheet({
66 66
      * thought of as the foreground (content) of WelcomePage.
67 67
      */
68 68
     localVideoOverlay: {
69
+        // Since (1) the top-level container of WelcomePage is not transparent
70
+        // and, more importantly, (2) this View is displayed over the local
71
+        // video, this View would better not have a background color.
72
+        // Otherwise, Views within this View will inherit its background color
73
+        // and Text, for example, will display non-transparent rectangles over
74
+        // the local video.
75
+        backgroundColor: 'transparent',
69 76
         bottom: 0,
70 77
         flex: 1,
71 78
         flexDirection: 'column',

正在加载...
取消
保存