mirror of
https://github.com/Damillora/Shioriko.git
synced 2024-11-24 21:27:31 +00:00
feat: adjust pagination delta
This commit is contained in:
parent
316e52cb72
commit
afbdc56b71
@ -4,7 +4,7 @@
|
|||||||
const paginate = (c, m) => {
|
const paginate = (c, m) => {
|
||||||
let current = c,
|
let current = c,
|
||||||
last = m,
|
last = m,
|
||||||
delta = 2,
|
delta = 1,
|
||||||
left = current - delta,
|
left = current - delta,
|
||||||
right = current + delta + 1,
|
right = current + delta + 1,
|
||||||
range = [],
|
range = [],
|
||||||
|
Loading…
Reference in New Issue
Block a user