Skip to content

Commit

Permalink
Merge branch 'release/1.4.2' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
firestar300 committed Jul 3, 2023
2 parents 65d3842 + 638eb69 commit db29552
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Node modules
node_modules/

## Build
dist/

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.4.2 - 2023-07-03

- Slider, infinite mode position

## 1.4.1 - 2023-06-29

- Refactoring helpers
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@beapi/be-a11y",
"version": "1.4.1",
"version": "1.4.2",
"description": "Collection of usefull accessible components",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/classes/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class Slider extends AbstractDomElement {
goto(index, announceItem, dir) {
const s = this._settings
const l = this._item.length
const half = Math.ceil(l / 2)
const half = Math.floor(l / 2)

index = (index + l) % l

Expand Down

0 comments on commit db29552

Please sign in to comment.