mirror of
https://github.com/fairyglade/ly.git
synced 2026-03-25 01:36:05 +00:00
Rename min_refresh_delta option to animation_frame_delay (closes #925)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -153,6 +153,14 @@ pub fn configFieldHandler(_: std.mem.Allocator, field: ini.IniField) ?ini.IniFie
|
||||
return field;
|
||||
}
|
||||
|
||||
if (std.mem.eql(u8, field.key, "min_refresh_delta")) {
|
||||
// The option has simply been renamed
|
||||
var mapped_field = field;
|
||||
mapped_field.key = "animation_frame_delay";
|
||||
|
||||
return mapped_field;
|
||||
}
|
||||
|
||||
return field;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user