Avoid a repaint on every animation step of the MD toggle button thumb |
|||
Issue descriptionAvoid a repaint on every animation step of the MD toggle button thumb. See the TODO in ToggleButton::AnimationProgressed(): "The thumb is using its own view. Investigate if repainting in every animation step to update colors could be avoided."
,
Feb 2 2017
not really measurable afaik, and it's limited in its scope since it only happens when a user takes an action. I suppose we could make the layer a solid color and use layer animations, but then we'd need to pull the shadow out into a second layer which doesn't seem like an overall win. I'd just remove the comment and close the bug.
,
Feb 7 2017
Ok handing back to you to remove the TODO at some point. Marking this as WontFix.
,
Feb 7 2017
Valery authored the TODO. |
|||
►
Sign in to add a comment |
|||
Comment 1 by tdander...@chromium.org
, Feb 2 2017