Gbridge: change animation timeout
a litte bit slower animation looks more fluentmaster
parent
5f926d4b79
commit
0af2cb7a6f
|
|
@ -22,7 +22,7 @@
|
||||||
scrollPos-=2;
|
scrollPos-=2;
|
||||||
if (scrollPos<-size) scrollPos=-size;
|
if (scrollPos<-size) scrollPos=-size;
|
||||||
Bangle.setLCDOffset(scrollPos);
|
Bangle.setLCDOffset(scrollPos);
|
||||||
if (scrollPos>-size) setTimeout(anim,10);
|
if (scrollPos>-size) setTimeout(anim,15);
|
||||||
}
|
}
|
||||||
anim();
|
anim();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue