mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 03:14:40 -05:00
Improve continuous horizontal reader (#110)
* differentiate ContinuesHorizontalLTR and ContinuesHorizontalRTL * fix displaying pages in horizontal viewer * add scroll handler for horizontal mode * update curPage when images pass through center of the screen * add click events to navigate pages * remove console.log * fix click mapping for ContinuesHorizontalRTL * remove disable eslint inline comment * fix ContinuesHorizontalRTL not updating curPage on scroll * add ability to click to drag * add margin in between images
This commit is contained in:
@@ -46,7 +46,8 @@ const getReaderComponent = (readerType: ReaderType) => {
|
||||
case 'DoubleLTR':
|
||||
return DoublePagedPager;
|
||||
break;
|
||||
case 'ContinuesHorizontal':
|
||||
case 'ContinuesHorizontalLTR':
|
||||
case 'ContinuesHorizontalRTL':
|
||||
return HorizontalPager;
|
||||
default:
|
||||
return VerticalPager;
|
||||
|
||||
Reference in New Issue
Block a user