Skip to content

Fix initialIndex bug in second CarouselStack initializer - #84

Open
bzellman wants to merge 1 commit into
dscyrescotti:mainfrom
bzellman:fix-initial-index-bug
Open

Fix initialIndex bug in second CarouselStack initializer#84
bzellman wants to merge 1 commit into
dscyrescotti:mainfrom
bzellman:fix-initial-index-bug

Conversation

@bzellman

Copy link
Copy Markdown

- The second initializer was ignoring the initialIndex parameter
- Always used data.startIndex instead of initialIndex ?? data.startIndex
- This caused CarouselStack to always start at index 0
- Fixes issue dscyrescotti#82: CarouselStack initialIndex not working
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant