修复128*64屏幕限制导致动画分段问题
This commit is contained in:
parent
ac4cd4e8d6
commit
d94f43caee
@ -889,7 +889,7 @@ void animation(float *a, float *a_trg, uint8_t n)
|
||||
{
|
||||
if (*a != *a_trg)
|
||||
{
|
||||
if (fabs(*a - *a_trg) < 0.15f) *a = *a_trg;
|
||||
if (fabs(*a - *a_trg) < 1.0f) *a = *a_trg;
|
||||
else *a += (*a_trg - *a) / (ui.param[n] / 10.0f);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user