Skip to content

Commit

Permalink
chore: build v2.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Amr Wagdy committed Feb 8, 2022
1 parent 9658a8f commit 08bd48d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ Types of changes:
- ...

-------------
## 2.7.5 - 2022-01-08
### Added
- update method to re-render or re-init the plugin
### Fixed
- drag speed on mobile
- error when drag speed is too high
- error in dependencies

## 2.7.4 - 2022-01-26
### Fixed
- typo in documentation file
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Release](https://img.shields.io/badge/release-v2.7.4-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases)
[![Release](https://img.shields.io/badge/release-v2.7.5-blue.svg)](https://github.com/scaleflex/js-cloudimage-360-view/releases)
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Scaleflex team](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg)](https://www.scaleflex.it/en/home)
Expand Down Expand Up @@ -75,7 +75,7 @@ To see the Cloudimage 360 view plugin in action, please check out the
Add script tag with CDN link to js-cloudimage-360-view lib after all content in body tag

```javascript
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/2.7.4/js-cloudimage-360-view.min.js"></script>
<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/2.7.5/js-cloudimage-360-view.min.js"></script>
```

## <a name="initialize"></a>Step 2: Initialize
Expand Down
6 changes: 3 additions & 3 deletions build/js-cloudimage-360-view.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ <h2 class="text-center">Ready to get started?</h2>
<p>Include the following script into your project after all content in body tag</p>
<figure class="highlight">
<pre><code class="javascript">
&lt;script src="https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/2.7.4/js-cloudimage-360-view.min.js"&gt;&lt;/script&gt;
&lt;script src="https://cdn.scaleflex.it/plugins/js-cloudimage-360-view/2.7.5/js-cloudimage-360-view.min.js"&gt;&lt;/script&gt;
</code></pre>
</figure>
</div>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-cloudimage-360-view",
"version": "2.7.4",
"version": "2.7.5",
"main": "dist/index.js",
"description": "",
"author": "scaleflex",
Expand Down Expand Up @@ -33,6 +33,7 @@
"publish-demo": "npm run build-demo && npm run deploy-demo"
},
"dependencies": {
"@babel/runtime": "^7.17.0",
"@popperjs/core": "^2.11.2",
"core-js": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/ci360.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ import {
this.lazySelector = lazySelector;
this.spinReverse = spinReverse;
this.controlReverse = controlReverse;
this.dragSpeed = dragSpeed;
this.dragSpeed = Math.max(magnifier, 50);
this.autoplaySpeed = this.speed * 36 / this.amountX;
this.stopAtEdges = stopAtEdges;
this.hide360Logo = hide360Logo;
Expand Down

0 comments on commit 08bd48d

Please sign in to comment.