Fix animation speed
This commit is contained in:
parent
5aaa34dc7e
commit
47433059b5
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ public class XashTutorialActivity extends Activity implements View.OnClickListen
|
|||
public void run()
|
||||
{
|
||||
isDelayed = false;
|
||||
// animate to 1/10 of page every 10 ms
|
||||
scrollBy(isInc?pageWidth/100:-pageWidth/100,0);
|
||||
// animate to 1/50 of page every 10 ms
|
||||
scrollBy(isInc?pageWidth/50:-pageWidth/50,0);
|
||||
}
|
||||
},10);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue