Thanks to visit codestin.com
Credit goes to github.com

Skip to content

QuickOverview doesn't allow jumping to last slide #2294

@fredcallaway

Description

@fredcallaway

Create presentation with 3 slides. Press g. Type 3. Nothing happens.

It's this line in QuickOverview. The >= assumes zero-indexing, but slides are one-indexed.

if (+keyboardBuffer.value >= slides.value.length) // should be >

Environment

  • Slidev version: v52.2.4
  • Browser: Chrome
  • OS: Mac

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions