mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
No method calling needed to get paragraph duration
This commit is contained in:
parent
e7e86234e2
commit
79e5b93b2a
@ -17,9 +17,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
{
|
||||
get
|
||||
{
|
||||
var timeCode = new TimeCode(EndTime.TotalMilliseconds);
|
||||
timeCode.AddTime(-StartTime.TotalMilliseconds);
|
||||
return timeCode;
|
||||
return new TimeCode(EndTime.TotalMilliseconds - StartTime.TotalMilliseconds);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user