Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: opacity 0 not working #565

Merged
merged 2 commits into from Aug 9, 2021
Merged

fix: opacity 0 not working #565

merged 2 commits into from Aug 9, 2021

Conversation

temper357
Copy link
Contributor

Closes #528

修复设置 opacity 为 0 不工作。

@temper357 temper357 added this to the 0.9 milestone Aug 4, 2021
@temper357 temper357 added this to In Progress in Browser Features via automation Aug 4, 2021
@@ -15,12 +15,6 @@ mixin RenderOpacityMixin on RenderBox {

void paintOpacity(PaintingContext context, Offset offset,
PaintingContextCallback callback) {
if (alpha == 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原先为 0 时跳过这个步骤,为什么会有问题

@answershuto answershuto merged commit bcd9d95 into main Aug 9, 2021
Browser Features automation moved this from In Progress to Done Aug 9, 2021
@answershuto answershuto deleted the fix/opacity branch August 9, 2021 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

有没有遇到opacity不能设置为0的情况?
4 participants