mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Bug 817828 - Don't use hardware layers on toolbar animations (r=sriram)
This commit is contained in:
parent
32583c75a8
commit
29adcd9792
@ -601,6 +601,7 @@ public class BrowserToolbar implements ViewSwitcher.ViewFactory,
|
||||
proxy.setAlpha(1);
|
||||
|
||||
final PropertyAnimator contentAnimator = new PropertyAnimator(250);
|
||||
contentAnimator.setUseHardwareLayer(false);
|
||||
|
||||
// Shrink the awesome entry back to its original size
|
||||
contentAnimator.attach(mAwesomeBarRightEdge,
|
||||
@ -682,6 +683,7 @@ public class BrowserToolbar implements ViewSwitcher.ViewFactory,
|
||||
}
|
||||
|
||||
final PropertyAnimator contentAnimator = new PropertyAnimator(250);
|
||||
contentAnimator.setUseHardwareLayer(false);
|
||||
|
||||
int translation = prepareAwesomeBarAnimation();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user