gopxl / pixelui

Immediate Mode GUI for Pixel
MIT License
34 stars 7 forks source link

Upgrade imgui-go to v4.2.0 #9

Open Chillance opened 3 years ago

Chillance commented 3 years ago

Seems like imgui-go points to old v1.12.0, while the current latest is v4.2.0 (there are even newer things in other forks, but I suppose we will keep the same repo). v4.2.0 contains nice goodies (such as being able to get WindowDrawList which enables possibility to create custom things, since it has the possibility to draw things) so would be great if this was updated.

Seb-C commented 2 years ago

I have the same issue. I forcefully replaced the version in my mod.go file, and so far it seems to work without any issue.

replace github.com/inkyblackness/imgui-go v1.12.0 => github.com/inkyblackness/imgui-go/v4 v4.4.0