Skip to content
Verified Commit 684c010e authored by Matej Starc's avatar Matej Starc
Browse files

pagerow::push remove useless position adjustment



Signed-off-by: Matej Starc's avatarMatej Starc <matej.starc@protonmail.com>

when pushing a page, we adjust the position of the index. The code looks
something like this: ``pos = max(0, pos)``, which makes to sense because
``currentIndex + 1`` is always going to be 0 or more.
parent 4ca80681
Pipeline #488814 passed with stage
in 3 minutes and 21 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment