Skip to content

Commit

Permalink
Merge pull request #1431 from 1hitsong/revertGroupSubTypeChanges
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Oct 25, 2023
2 parents e7dde6a + 8bfbffd commit 03422d5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions components/data/SceneManager.brs
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,16 @@ end sub
sub popScene()
group = m.groups.pop()
if group <> invalid
groupType = group.subtype()
if groupType = "JFGroup"
if group.isSubType("JFGroup")
unregisterOverhangData(group)
else if groupType = "JFVideo"
else if group.isSubType("JFVideo")
' Stop video to make sure app communicates stop playstate to server
group.control = "stop"
end if

group.visible = false

if groupType = "JFScreen"
if group.isSubType("JFScreen")
group.callFunc("OnScreenHidden")
end if
else
Expand Down

0 comments on commit 03422d5

Please sign in to comment.