artpolikarpov / fotorama

A simple, stunning, powerful jQuery gallery.
http://fotorama.io
Other
1.58k stars 380 forks source link

Wrong direction logic for 'data-click="true"' with 'data-direction="rtl"' #561

Open pfoermer opened 4 years ago

pfoermer commented 4 years ago

Hi,

I use 'data-click="true"' together with 'data-direction="rtl"' with fotorama 4.6.4. My expectation is, that the picture is flipped in RTL order logic on click, so the left picture is the next to display and not the right one. Currently this setting uses LTR logic, so on click the right picture is displayed.

The full used setting list is: <div class="fotorama" data-allowfullscreen="native" data-nav="thumbs" data-arrows="true" data-click="true" data-swipe="true" data-transition="slide" data-clicktransition="crossfade" data-loop="true" data-fit="contain" data-thumbwidth="108" data-thumbheight="64" data-direction="rtl">

Best regards and thanks for the great gallery.