Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit 3a8a7ff

Browse files
author
qianyuan.wqy
committed
Revert "[iOS] Fix the problem that background color should use [UIColor clearColor] instance when transparent. (#2942)"
This reverts commit 2c169da.
1 parent 65e7acb commit 3a8a7ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/sdk/WeexSDK/Sources/Utility/WXConvert.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ + (UIColor *)UIColorFromRGBA:(uint32_t)rgba
440440
g = g8 / 255.f;
441441
b = b8 / 255.f;
442442
a = a8 / 255.f;
443-
return a < 0.5 ? [UIColor clearColor] : [UIColor colorWithRed:r green:g blue:b alpha:a];
443+
return [UIColor colorWithRed:r green:g blue:b alpha:a];
444444
}
445445

446446
+ (uint32_t)RGBAColorFromUIColor:(UIColor*)color

0 commit comments

Comments
 (0)