sb fix
This commit is contained in:
1 parent
fd86e6c7b5
commit
8599e275ab
9 files changed
+113
-91
No files matched your search
@@ -44,7 +44,6 @@ function Repaint() as void
|
||||
end if
|
||||
end function
|
||||
|
||||
' --- VOD ------------------------------------------------------------------------------------------------
|
||||
function RenderVodBar() as void
|
||||
transportActive = (m.top.transportMode <> TransportController.Mode.Idle)
|
||||
if transportActive
|
||||
@@ -78,7 +77,6 @@ function RenderVodBar() as void
|
||||
m.liveLabel.visible = false
|
||||
end function
|
||||
|
||||
' --- LIVE -----------------------------------------------------------------------------------------------
|
||||
function RenderLiveBar() as void
|
||||
transportActive = (m.top.transportMode = TransportController.Mode.LiveDvr)
|
||||
|
||||
@@ -160,7 +158,6 @@ function OnFocusChange() as void
|
||||
m.playheadFocus.control = "start"
|
||||
end function
|
||||
|
||||
' --- glyph swap (handle child) --------------------------------------------------------------------------
|
||||
function OnGlyph() as void
|
||||
name = GlyphAssetName(m.top.glyph)
|
||||
if name = ""
|
||||
@@ -194,7 +191,6 @@ function GlyphAssetName(glyph as integer) as string
|
||||
return ""
|
||||
end function
|
||||
|
||||
' --- SponsorBlock fill tint -----------------------------------------------------------------------------
|
||||
' A SponsorBlock tint overrides the red fill; an empty (fully transparent) value keeps the red.
|
||||
function OnSbFillBlend() as void
|
||||
blend = m.top.sbFillBlend
|
||||
@@ -203,7 +199,6 @@ function OnSbFillBlend() as void
|
||||
end if
|
||||
end function
|
||||
|
||||
' --- time format ----------------------------------------------------------------------------------------
|
||||
' under 1min -> "0:SS"; else "MM:SS"; "H:MM:SS" when >= 1hr.
|
||||
function FormatBarTime(seconds as dynamic) as string
|
||||
if seconds = invalid
|
||||
|
||||
Reference in new issue
Block a user