Skip to content

Commit

Permalink
Ensure window is rendered when re-used
Browse files Browse the repository at this point in the history
Fixes #4163
  • Loading branch information
andydotxyz committed Aug 18, 2023
1 parent 5bac179 commit e609505
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/driver/glfw/window.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ func (w *window) Show() {

func (w *window) doShow() {
if w.view() != nil {
runOnDraw(w, func() {
w.driver.repaintWindow(w)
})

w.doShowAgain()
return
}
Expand Down

0 comments on commit e609505

Please sign in to comment.