PluginProbe
Depicter — Popup & Slider Builder / 1.9.2
Depicter — Popup & Slider Builder v1.9.2
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
← All changes | app/src/Document/Models/Options/Script.php +7 -4 1.2.01.9.2 View file →
@@ -24,8 +24,12 @@
24 24 'layout' => $document->options->getLayout(),
25 25 'rtl' => isset( $document->options->navigation->rtl ) ? $document->options->navigation->rtl : false
26 26 ];
27 27
28 + if ( $document->isBuildWithAI ) {
29 + $attributes['disableAnimations'] = true;
30 + }
31 +
28 32 if( isset( $document->options->sectionTransition->type ) ){
29 33 $attributes['view'] = !empty( $document->options->sectionTransition->type ) ? $document->options->sectionTransition->type : 'basic';
30 34 }
31 35
@@ -88,12 +92,8 @@
88 92
89 93 $attributes['slideshow'] = $slideShow;
90 94 }
91 95
92 - if( isset( $document->options->general->autoHeight ) && $document->options->getLayout() !== 'fullscreen' ){
93 - $attributes['autoHeight'] = $document->options->general->autoHeight;
94 - }
95 -
96 96 if( !empty( $document->options->navigation->swipe->enable ) ){
97 97 if( isset( $document->options->navigation->swipe->mouseSwipe ) ){
98 98 $attributes['mouseSwipe'] = $document->options->navigation->swipe->mouseSwipe;
99 99 }
@@ -98,8 +98,11 @@
98 98 $attributes['mouseSwipe'] = $document->options->navigation->swipe->mouseSwipe;
99 99 }
100 100 if( isset( $document->options->navigation->swipe->touchSwipe ) ){
101 101 $attributes['touchSwipe'] = $document->options->navigation->swipe->touchSwipe;
102 + }
103 + if( isset( $document->options->navigation->swipe->direction ) ){
104 + $attributes['swipeDir'] = $document->options->navigation->swipe->direction;
102 105 }
103 106 } else {
104 107 $attributes['mouseSwipe'] = false;
105 108 $attributes['touchSwipe'] = false;