Skip to content

Commit 636de5c

Browse files
author
Simeon
authored
Show another decimal place on the LottieViewer tooltip. (#421)
Previously, you'd press the arrow keys 10 times before the tooltip value would change. That was confusing! Now the tooltip will always change in response to the arrow keys.
1 parent fad5d46 commit 636de5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LottieViewer/Scrubber.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ object IValueConverter.Convert(object value, Type targetType, object parameter,
347347
}
348348

349349
var duration = lottieVisualDiagnostics.Duration;
350-
return $" {_owner.Value:0.00}\r\n{_owner.Value * duration.TotalSeconds:0.00} secs";
350+
return $" {_owner.Value:0.000}\r\n{_owner.Value * duration.TotalSeconds:0.00} secs";
351351
}
352352

353353
object IValueConverter.ConvertBack(object value, Type targetType, object parameter, string language)

0 commit comments

Comments
 (0)