Skip to content

[ImageViewer] add pan key_events to viewer#14938

Merged
Frenzie merged 1 commit into
koreader:masterfrom
Commodore64user:image-events
Feb 5, 2026
Merged

[ImageViewer] add pan key_events to viewer#14938
Frenzie merged 1 commit into
koreader:masterfrom
Commodore64user:image-events

Conversation

@Commodore64user

@Commodore64user Commodore64user commented Feb 5, 2026

Copy link
Copy Markdown
Member

what's new

  • Added new key bindings for arrow keys (Up, Down, Left, Right) in the ImageViewer:init() method, mapping each to a CursorPan event with the appropriate direction argument.
  • Implemented the ImageViewer:onCursorPan(direction) method to handle the new CursorPan event, calculating pan steps based on screen size and moving the image accordingly.

related issues


This change is Reviewable

@Frenzie Frenzie merged commit 66e2259 into koreader:master Feb 5, 2026
4 checks passed
@Frenzie Frenzie added this to the 2026.02 milestone Feb 5, 2026
@Frenzie Frenzie added the NT Non Touch devices label Feb 5, 2026
@Commodore64user Commodore64user deleted the image-events branch February 5, 2026 15:39
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NT Non Touch devices

Projects

None yet

Development

Successfully merging this pull request may close these issues.

on NON TOUCH kindles, there's no way to move in-book images around after zooming in.

2 participants