mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
perf(animation): improves _progress() hot function
- progress() is the function where more time is spent during any swipe gesture - replace iterating over the _fx properties, using an array instead - optimize pointerCoord(), profiler showed it’s one of the most called functions
This commit is contained in:
@@ -51,7 +51,7 @@ ion-menu ion-backdrop {
|
||||
z-index: -1;
|
||||
display: none;
|
||||
|
||||
opacity: .1;
|
||||
opacity: .01;
|
||||
}
|
||||
|
||||
.menu-content {
|
||||
|
||||
Reference in New Issue
Block a user