feat(slides): add swiper controller (#9983)

This commit is contained in:
Job
2017-01-12 19:41:17 +01:00
committed by Brandy Carney
parent e35a3b1ab7
commit f499496e4d
7 changed files with 235 additions and 2 deletions

View File

@ -618,6 +618,9 @@ export function update(s: Slides, plt: Platform, updateTranslate?: boolean) {
}
if (updateTranslate) {
if (s._spline) {
s._spline = undefined;
}
if (s.freeMode) {
forceSetTranslate();
if (s.autoHeight) {