Skip to content

fix #24469, #67354#69668

Merged
fluttergithubbot merged 1 commit intoflutter:masterfrom
sysint64:issue-24469
Nov 25, 2020
Merged

fix #24469, #67354#69668
fluttergithubbot merged 1 commit intoflutter:masterfrom
sysint64:issue-24469

Conversation

@sysint64
Copy link
Contributor

@sysint64 sysint64 commented Nov 3, 2020

Description

The reason why is simple - we transited barrier color from barrierColor to 0x00000000, therefore we smoothly transit from black transparent to the barrierColor, but this is not desirable behavior. For example, if we would like to use a white barrier color, it will be like this 0x00000000 -> 0xFFFFFFFF, but a desirable transition would be 0x00FFFFFF -> 0xFFFFFFFF.

Related Issues

This PR fixes #24469, #67354.

@flutter-dashboard flutter-dashboard bot added the framework flutter/packages/flutter repository. See also f: labels. label Nov 3, 2020
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@google-cla google-cla bot added the cla: yes label Nov 3, 2020
@goderbauer goderbauer requested a review from chunhtai November 4, 2020 22:46
Copy link
Contributor

@chunhtai chunhtai left a comment

Choose a reason for hiding this comment

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

Change looks good, but we need a test.

@goderbauer
Copy link
Member

(PR triage): @sysint64 do you have plans to add a test soon as per feedback above?

@sysint64
Copy link
Contributor Author

sysint64 commented Nov 19, 2020

(PR triage): @sysint64 do you have plans to add a test soon as per feedback above?

Yes, I'm planning to do this in couple days

@sysint64
Copy link
Contributor Author

@chunhtai @goderbauer I have added the test.

Copy link
Contributor

@chunhtai chunhtai left a comment

Choose a reason for hiding this comment

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

LGTM, one small nit

@chunhtai
Copy link
Contributor

Hi @sysint64 can you rebase off master? this branch seems to be out of date.

@sysint64
Copy link
Contributor Author

@chunhtai, I've rebased before I push changes. I checked it, and it's up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PageRouteBuilder takes some time to set barrierColor.

4 participants