Skip to content

Commit

Permalink
game selector event propagation
Browse files Browse the repository at this point in the history
Signed-off-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com>
  • Loading branch information
j10a1n15 committed Sep 27, 2024
1 parent 8305062 commit 8081321
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ class GameSelector : WindowScreen(
width = AspectConstraint(1f)
height = 25.percent()
color = Color(0x000000).withAlpha(0.5f).toConstraint()
}.onMouseClick {
}.onMouseClick { event ->
PictureInPicture.game = game.factory()
PictureInPicture.visible = true
event.stopPropagation()
} childOf textContainer
}
}
Expand Down

0 comments on commit 8081321

Please sign in to comment.