Fix ui flicker in dev player
This commit is contained in:
1 parent
5c215ca974
commit
ee8f7a05dd
4 files changed
+24
-3
No files matched your search
@@ -170,9 +170,9 @@ end function
|
||||
function OnPlayerStateChange()
|
||||
state = m.top.state
|
||||
if state = "playing"
|
||||
m.playButton.iconUri = "pkg:/images/icons/player/pause.png"
|
||||
m.playButton.toggleState = false ' Pause icon
|
||||
else if state = "paused"
|
||||
m.playButton.iconUri = "pkg:/images/icons/player/play.png"
|
||||
m.playButton.toggleState = true ' Play icon
|
||||
end if
|
||||
end function
|
||||
|
||||
|
||||
Reference in new issue
Block a user