hide other windows when not paused

This commit is contained in:
2022-02-26 13:55:07 +08:00
parent aa3ad851cf
commit a71acc22a0
3 changed files with 62 additions and 58 deletions

View File

@@ -16,7 +16,6 @@ import (
"edgaru089.ml/go/gl01/internal/world/worldgen"
"github.com/go-gl/glfw/v3.3/glfw"
"github.com/go-gl/mathgl/mgl64"
"github.com/inkyblackness/imgui-go/v4"
)
const (
@@ -307,7 +306,6 @@ func (g *Game) Update(win *glfw.Window, delta time.Duration) {
io.Diagnostics.Times.Logic = clock.Restart()
imgui.ShowDemoWindow(nil)
g.imgui()
io.Diagnostics.Times.GUI = clock.Restart()
}