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
|
barPath: barPath
|
||||||
})
|
})
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ function FindTimeLabel() as object
|
|||||||
children = m.top.trickPlayBar.getChildren(m.top.trickPlayBar.getChildCount(), 0)
|
children = m.top.trickPlayBar.getChildren(m.top.trickPlayBar.getChildCount(), 0)
|
||||||
label = invalid
|
label = invalid
|
||||||
for each child in children
|
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
|
' 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 child.isSubtype("Label") and child.text = "0:00"
|
||||||
if label = invalid
|
if label = invalid
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ namespace TimeUtils
|
|||||||
else if tokens.Count() = 2
|
else if tokens.Count() = 2
|
||||||
minutes = tokens[0].ToInt()
|
minutes = tokens[0].ToInt()
|
||||||
seconds = tokens[1].ToInt()
|
seconds = tokens[1].ToInt()
|
||||||
end if
|
end if
|
||||||
return hours * 3600 + minutes * 60 + seconds
|
return hours * 3600 + minutes * 60 + seconds
|
||||||
end function
|
end function
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user