Browse Source

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

master
Lyubomir Marinov 9 years ago
parent
commit
a1639b67a5
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      react/features/welcome/components/styles.js

+ 7
- 0
react/features/welcome/components/styles.js View File

@@ -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',

Loading…
Cancel
Save