Formatting

This commit is contained in:
Brahim Hadriche committed 2022-11-30 19:48:36 -05:00
1 parent 64cf7b54a0
commit 16797a5144
3 files changed
+2 -3

No files matched your search

@@ -22,4 +22,3 @@ function TaskMain()
barPath: barPath
})
end function
+1 -1
View File
@@ -14,7 +14,7 @@ function FindTimeLabel() as object
children = m.top.trickPlayBar.getChildren(m.top.trickPlayBar.getChildCount(), 0)
label = invalid
for each child in children
' It's very unfortunate to have to find a label with 0:00 text,
' It's very unfortunate to have to find a label with 0:00 text,
' and that's on the left side of the screen. This might need completely custom trickPlayBar
if child.isSubtype("Label") and child.text = "0:00"
if label = invalid
+1 -1
View File
@@ -57,7 +57,7 @@ namespace TimeUtils
else if tokens.Count() = 2
minutes = tokens[0].ToInt()
seconds = tokens[1].ToInt()
end if
end if
return hours * 3600 + minutes * 60 + seconds
end function