Skip to content

Conversation

@CySSoO
Copy link
Contributor

@CySSoO CySSoO commented Jan 22, 2026

Motivation

  • Aligner le calcul de translation du mode « centered » pour centrer précisément la slide active sans inclure incorrectement le gap dans le pas.

Description

  • Mise à jour de views/js/everblock-slider.js : le calcul de translateX utilise désormais offset = (containerWidth / 2) - (state.itemWidth / 2) - (state.index * state.itemWidth) au lieu d'un step qui incluait state.gap.

Testing

  • Aucun test automatisé exécuté pour ce changement lors du rollout.

Codex Task

@CySSoO CySSoO merged commit bb2e580 into master Jan 22, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants