mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Use already defined const for 'BaseUnit'
This commit is contained in:
parent
1b4324579e
commit
faceafe75c
@ -429,7 +429,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
/// </summary>
|
||||
public int GetIndex(double seconds)
|
||||
{
|
||||
var totalMilliseconds = seconds * 1000.0;
|
||||
var totalMilliseconds = seconds * TimeCode.BaseUnit;
|
||||
for (int i = 0; i < Paragraphs.Count; i++)
|
||||
{
|
||||
var p = Paragraphs[i];
|
||||
|
Loading…
Reference in New Issue
Block a user