fix program not closed after hit close button

This commit is contained in:
aynakeya
2025-06-15 00:29:16 +08:00
parent dd71c3b9ba
commit c7b70740f6
2 changed files with 5 additions and 1 deletions

View File

@@ -17,6 +17,9 @@ func setupPlayerWindow() {
}
func showPlayerWindow() {
if playerWindow == nil {
setupPlayerWindow()
}
playerWindow.Show()
if playerWindowHandle == 0 {
playerWindowHandle = xfyne.GetWindowHandle(playerWindow)