Fix animation speed

This commit is contained in:
mittorn 2018-04-03 02:00:53 +07:00 committed by Alibek Omarov
parent 5aaa34dc7e
commit 47433059b5

View file

@ -80,8 +80,8 @@ public class XashTutorialActivity extends Activity implements View.OnClickListen
public void run() public void run()
{ {
isDelayed = false; isDelayed = false;
// animate to 1/10 of page every 10 ms // animate to 1/50 of page every 10 ms
scrollBy(isInc?pageWidth/100:-pageWidth/100,0); scrollBy(isInc?pageWidth/50:-pageWidth/50,0);
} }
},10); },10);
} }