Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -196,8 +196,8 @@ export struct PlayerFullScreenView { | @@ -196,8 +196,8 @@ export struct PlayerFullScreenView { | ||
| 196 | .visibility(this.showOperator ? Visibility.Visible : Visibility.Hidden) | 196 | .visibility(this.showOperator ? Visibility.Visible : Visibility.Hidden) |
| 197 | .linearGradient({ | 197 | .linearGradient({ |
| 198 | direction: GradientDirection.Bottom, // 渐变方向 | 198 | direction: GradientDirection.Bottom, // 渐变方向 |
| 199 | - colors: [['rgba(0,0,0,0.5)', 0], | ||
| 200 | - ['rgba(1,1,1,0)', 1.0]] // 数组末尾元素占比小于1时满足重复着色效果 | 199 | + colors: [['rgba(1,1,1,0)', 1.0], |
| 200 | + ['rgba(0,0,0,0.5)', 0]] // 数组末尾元素占比小于1时满足重复着色效果 | ||
| 201 | }) | 201 | }) |
| 202 | 202 | ||
| 203 | } | 203 | } |
-
Please register or login to post a comment