Skip to content

TouchMenu: optimize item removal#13901

Merged
hius07 merged 4 commits into
koreader:masterfrom
hius07:touchmenu-remove-item
Jun 4, 2025
Merged

TouchMenu: optimize item removal#13901
hius07 merged 4 commits into
koreader:masterfrom
hius07:touchmenu-remove-item

Conversation

@hius07

@hius07 hius07 commented Jun 1, 2025

Copy link
Copy Markdown
Member

Similar to the Menu widget, add item.idx to avoid rebuilding the whole menu or iterating over all items when removing an item.


This change is Reviewable

@hius07 hius07 merged commit 6133a43 into koreader:master Jun 4, 2025
2 of 4 checks passed
@hius07 hius07 deleted the touchmenu-remove-item branch June 4, 2025 05:15
@hius07 hius07 added this to the 2025.05 milestone Jun 4, 2025
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants