Skip to content

Adds animation to color on outlined btns#24465

Merged
XhmikosR merged 3 commits intov4-devfrom
v4-dev-andres-adds-animation-to-btn-text
Oct 22, 2017
Merged

Adds animation to color on outlined btns#24465
XhmikosR merged 3 commits intov4-devfrom
v4-dev-andres-adds-animation-to-btn-text

Conversation

@andresgalante
Copy link
Copy Markdown
Collaborator

@andresgalante andresgalante commented Oct 20, 2017

This PR fixes #24447 by adding an animation to color on outline buttons.

@XhmikosR
Copy link
Copy Markdown
Member

LGTM. Although the properties we animate are not the ones that are hardware accelerated, but I don't think it matters a lot here.

Waiting for @mdo's approval.

@andresgalante
Copy link
Copy Markdown
Collaborator Author

andresgalante commented Oct 20, 2017

You are right, there is a repaint.
We can change it to animate a css filter probably, but it'd be a larger change.

@XhmikosR
Copy link
Copy Markdown
Member

XhmikosR commented Oct 20, 2017

Ideally, yeah, we should only animate the hardware accelerated properties everywhere. But it won't be an easy task. Maybe we should have an issue for this.

@mdo mdo mentioned this pull request Oct 22, 2017
@XhmikosR XhmikosR merged commit b61de52 into v4-dev Oct 22, 2017
@XhmikosR XhmikosR deleted the v4-dev-andres-adds-animation-to-btn-text branch October 22, 2017 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants