forked from len0rd/rockbox
Revert r23021, since it broke non-RTL scrolling. RTL scrolling still needs fixing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23118 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d5b076b64a
commit
74d3671af2
1 changed files with 1 additions and 0 deletions
|
|
@ -326,6 +326,7 @@ void LCDFN(scroll_fn)(void)
|
||||||
}
|
}
|
||||||
if (abs(s->offset) >= s->width - (current_vp->width - xpos)) {
|
if (abs(s->offset) >= s->width - (current_vp->width - xpos)) {
|
||||||
/* at end of line */
|
/* at end of line */
|
||||||
|
s->offset = s->width - (current_vp->width - xpos);
|
||||||
s->backward = true;
|
s->backward = true;
|
||||||
s->start_tick = current_tick + LCDFN(scroll_info).delay * 2;
|
s->start_tick = current_tick + LCDFN(scroll_info).delay * 2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue