Skip to content

Commit

Permalink
[FIX]: Se modifica el tiempo de transición
Browse files Browse the repository at this point in the history
  • Loading branch information
konami12 committed May 4, 2018
1 parent c4c7712 commit be37d9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/source/OrcaSlide.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orcaslide",
"version": "0.4.4",
"version": "0.4.5",
"description": "Slide basico",
"main": "dist/source/",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions source/OrcaSlide.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ class OrcaSlide extends Utils {
"arrowPrevious",
"contentItem",
];

KEYS.forEach((item) => {
const SELECTOR = this.configSlide[item];
const ELEMENT = this.getElementDom(SELECTOR);
Expand All @@ -272,7 +271,7 @@ class OrcaSlide extends Utils {
const NEW_CONFIG = {
items: ELEMENT.children.length - 1,
itemWidth: ITEM_WIDTH,
moveTo: Math.ceil(ITEM_WIDTH / 256),
moveTo: Math.ceil(ITEM_WIDTH / 128),
scrollWidth: ELEMENT.scrollWidth || 0,
time: (this.configSlide.time * 1000) / 512,
item: ITEM,
Expand Down

0 comments on commit be37d9a

Please sign in to comment.