Disable animation in dashboard
This commit is contained in:
parent
5d5542f2e0
commit
8cc454e51d
1 changed files with 4 additions and 2 deletions
|
@ -757,7 +757,8 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDashboardVisibility(boolean visible, DashboardType type) {
|
public void setDashboardVisibility(boolean visible, DashboardType type) {
|
||||||
setDashboardVisibility(visible, type, this.visible ? visibleType : null, true);
|
boolean animate = !getMyApplication().getSettings().DO_NOT_USE_ANIMATIONS.get();
|
||||||
|
setDashboardVisibility(visible, type, this.visible ? visibleType : null, animate);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDashboardVisibility(boolean visible, DashboardType type, boolean animation) {
|
public void setDashboardVisibility(boolean visible, DashboardType type, boolean animation) {
|
||||||
|
@ -1187,7 +1188,8 @@ public class DashboardOnMap implements ObservableScrollViewCallbacks, DynamicLis
|
||||||
mapActivity.getMapViewTrackingUtilities().switchToRoutePlanningMode();
|
mapActivity.getMapViewTrackingUtilities().switchToRoutePlanningMode();
|
||||||
mapActivity.refreshMap();
|
mapActivity.refreshMap();
|
||||||
}
|
}
|
||||||
hideDashboard(true);
|
boolean animate = !getMyApplication().getSettings().DO_NOT_USE_ANIMATIONS.get();
|
||||||
|
hideDashboard(animate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue