mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 15:18:35 -07:00
Remove xfw setting animation speed cap
This commit is contained in:
@@ -530,9 +530,7 @@ static BubbleAnimation* animation_storage_load_animation(const char* name) {
|
||||
uint16_t anim_speed = XTREME_SETTINGS()->anim_speed;
|
||||
anim_speed = (anim_speed == 0 ? 100 : anim_speed);
|
||||
u32value = (u32value * anim_speed) / 100;
|
||||
u32value = u32value < 1 ? 1 : u32value;
|
||||
u32value = u32value > 10 ? 10 : u32value;
|
||||
FURI_CONST_ASSIGN(animation->icon_animation.frame_rate, u32value);
|
||||
FURI_CONST_ASSIGN(animation->icon_animation.frame_rate, u32value < 1 ? 1 : u32value);
|
||||
if(!flipper_format_read_uint32(ff, "Duration", &u32value, 1)) break;
|
||||
animation->duration = u32value;
|
||||
if(!flipper_format_read_uint32(ff, "Active cooldown", &u32value, 1)) break;
|
||||
|
||||
Reference in New Issue
Block a user