diff --git a/LICENSE b/LICENSE index 093f409..4d2de8b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2021 Andre Rinas +Copyright (c) 2022 Andre Rinas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index dc657a3..53739e2 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ For a complete example just look at the demo folder. | -------- | ------- | ---- | ----------- | | sourceAttr | href | string | The attribute used for large images | | overlay | true | bool | Show an overlay or not | +| overlayOpacity | 0.7 | float | the opacity of the overlay | | spinner | true | bool | Show spinner or not | | nav | true | bool | Show arrow-navigation or not | | navText | ['←','→'] | array | Text or html for the navigation arrows | @@ -193,7 +194,6 @@ $sl-overlay-background: #fff; $sl-navigation-color: #000; $sl-caption-color: #fff; $sl-caption-background: #000; -$sl-overlay-opacity: 0.7; $sl-counter-fontsize: 1rem; $sl-caption-fontsize: 1rem; @@ -223,6 +223,7 @@ Run `gulp watch` to enable continous watching of both src/simple-lightbox.js and Just call `gulp build` to have all files and variants created inside dist! ### Changelog +**2.10.2 - Fixed #258 with opacity flicker on overlay. For this, moved style option captionOpacity to js plugin** **2.10.1 - Fixed #255 fast switching photos and #256 for hiding back and next buttons on loop: false** **2.10.0 - Fixed #254 - Nav Buttons disappear and adding new method getLighboxData so get some useful data for #251** **2.9.0 - Added mousescroll function with new options mouseScroll and mouseScrollFactor** diff --git a/bower.json b/bower.json index b430539..6aac0cd 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "simplelightbox", - "version": "2.10.1", + "version": "2.10.2", "homepage": "https://simplelightbox.com/", "authors": [ "André Rinas (https://www.andrerinas.de)" diff --git a/demo/index.html b/demo/index.html index ad3e245..acce317 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,7 +4,7 @@ - + SimpleLightbox by André Rinas @@ -14,7 +14,7 @@
-

SimpleLightbox v2.10.1

+

SimpleLightbox v2.10.2

Touch-friendly image lightbox
+ 2.10.2 - Fixed #258 with opacity flicker on overlay. For this, moved style option captionOpacity to js plugin
2.10.1 - Fixed #255 fast switching photos and #256 for hiding back and next buttons on loop: false
2.10.0 - Fixed #254 - Nav Buttons disappear and adding new method getLighboxData so get some useful data for #251
2.9.0 - Added mousescroll function with new options mouseScroll and mouseScrollFactor
@@ -751,7 +757,7 @@

Author/
Contributors

- +