1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 10:19:33 +02:00

fixed vertical scrolling animation

This commit is contained in:
Nikolay Pultsin 2011-04-05 10:35:17 +01:00
parent 188ae8917d
commit 2ffab8151b

View file

@ -208,7 +208,7 @@ public class ZLAndroidWidget extends View implements View.OnLongClickListener {
} }
final AnimationProvider animator = getAnimationProvider(); final AnimationProvider animator = getAnimationProvider();
final int w = getWidth(); final int w = getWidth();
final int h = getHeight(); final int h = getMainAreaHeight();
switch (pageIndex) { switch (pageIndex) {
case current: case current:
switch (myPageToScrollTo) { switch (myPageToScrollTo) {