Formatting
This commit is contained in:
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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user