Skip to content

Commit

Permalink
#32 [RTL] Bugfix...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgeffroy committed Jan 28, 2022
1 parent 713abf2 commit fb2128e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@
let translateLeft = -(containerWidth / nbThumbnails * ((nbThumbnails - 1) / 2));
let translateTop = -(containerHeight / nbThumbnails * ((nbThumbnails - 1) / 2));
let scale = 1 / nbThumbnails;
spineItemContentsDiv[0].style.transform = "translate(" + translateLeft + "px, " + translateTop + "px) scale(" + scale + ")";
$('#xpub_spineItemContents')[0].style.transform = "translate(" + translateLeft + "px, " + translateTop + "px) scale(" + scale + ")";
if (paginator.length == 0) {
document.fonts.ready.then(function () {
xpub.triggerOnPaginationChanged();
Expand Down

0 comments on commit fb2128e

Please sign in to comment.