mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Remove stray float literal .0 suffixes in lieu of just ending with a point (#4233)
Remove the .0 suffix on floats in lieu of just ending with a point
This commit is contained in:
@@ -146,7 +146,7 @@ impl AnimationParams {
|
||||
|
||||
/// Get the frame delay in centiseconds (GIF uses 10ms units)
|
||||
pub fn frame_delay_centiseconds(&self) -> u16 {
|
||||
((100.0 / self.fps).round() as u16).max(1)
|
||||
((100. / self.fps).round() as u16).max(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user