Skip to content

Commit 2ff4ca4

Browse files
committed
Version 1.3.1 release
1 parent ee24b48 commit 2ff4ca4

File tree

8 files changed

+14
-16
lines changed

8 files changed

+14
-16
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lightgallery.js",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Full featured lightbox gallery. Zero dependencies",
55
"main": [
66
"dist/js/lightgallery.min.js",

demo/js/lg-rotate.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**!
2-
* lg-rotate.js | 1.0.0 | September 1st 2020
2+
* lg-rotate.js | 1.1.0 | September 19th 2020
33
* http://sachinchoolur.github.io/lg-rotate.js
44
* Copyright (c) 2016 Sachin N;
55
* @license GPLv3
@@ -55,12 +55,12 @@
5555

5656
Rotate.prototype.buildTemplates = function () {
5757
var rotateIcons = '';
58-
if (this.core.s.flipHorizontal) {
59-
rotateIcons += '<button aria-label="Flip horizontal" class="lg-flip-hor lg-icon"></button>';
60-
}
6158
if (this.core.s.flipVertical) {
6259
rotateIcons += '<button aria-label="flip vertical" class="lg-flip-ver lg-icon"></button>';
6360
}
61+
if (this.core.s.flipHorizontal) {
62+
rotateIcons += '<button aria-label="Flip horizontal" class="lg-flip-hor lg-icon"></button>';
63+
}
6464
if (this.core.s.rotateLeft) {
6565
rotateIcons += '<button aria-label="Rotate left" class="lg-rotate-left lg-icon"></button>';
6666
}
@@ -104,7 +104,7 @@
104104

105105
Rotate.prototype.applyStyles = function () {
106106
var image = this.core.___slide[this.core.index].querySelector('.lg-img-rotate');
107-
utils.setVendor(image, 'Transform', 'rotate(' + this.rotateValuesList[this.core.index].rotate + 'deg)' + ' scale3d(' + this.rotateValuesList[this.core.index].flipVertical + ', ' + this.rotateValuesList[this.core.index].flipHorizontal + ', 1)');
107+
utils.setVendor(image, 'Transform', 'rotate(' + this.rotateValuesList[this.core.index].rotate + 'deg)' + ' scale3d(' + this.rotateValuesList[this.core.index].flipHorizontal + ', ' + this.rotateValuesList[this.core.index].flipVertical + ', 1)');
108108
};
109109

110110
Rotate.prototype.rotateLeft = function () {

demo/js/lg-rotate.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/lightgallery.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -878,11 +878,11 @@ body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object
878878
}
879879

880880
.lg-flip-hor:after {
881-
content: "\e903";
881+
content: "\e902";
882882
}
883883

884884
.lg-flip-ver:after {
885-
content: "\e902";
885+
content: "\e903";
886886
}
887887

888888
.group {
@@ -1151,5 +1151,3 @@ body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object
11511151
-o-transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
11521152
transition: left 1s cubic-bezier(0, 0, 0.25, 1) 0s, opacity 0.1s ease 0s;
11531153
}
1154-
1155-
/*# sourceMappingURL=lightgallery.css.map */

dist/css/lightgallery.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/lightgallery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**!
2-
* lightgallery.js | 1.3.0 | September 1st 2020
2+
* lightgallery.js | 1.3.1 | September 19th 2020
33
* http://sachinchoolur.github.io/lightgallery.js/
44
* Copyright (c) 2016 Sachin N;
55
* @license GPLv3

dist/js/lightgallery.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lightgallery.js",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Full featured lightbox gallery. Zero dependencies",
55
"keywords": [
66
"gallery",

0 commit comments

Comments
 (0)