AllenDang/giu

state is broken

Closed this issue ยท 3 comments

I was writting a FAQ on wiki.
I did an example of using state and was going to test it AAAAND....
I noticed that my cats ๐Ÿฑ broke giu state mechanism...

My quick invstigation already spotted that state is re-generated every frame.
I condiser this issue as a hot-bug ๐Ÿž see you soon ๐Ÿ˜„

Context.cleanState is called in MasterWindow.go#255 and invalidAllState is called in MasterWindow.go#203.
Turns out both are called before rendering - should not happen.

git balame says that for some reason it was changed in c58b421. I can't decode that reason tbh...

ok, judging from commit description it has something to do with window resizing. let me check that.