[bug] Stuttering glitch appears when rendering table borders
What happend?
When I create a Table and display it, ocasionally an underscore-like stuttering glitch appears on screen, specifically on the upper and lower borders of each row. This also happens when I run the demo on master/examples/widgets/widgets.go.
Video footage: https://github.com/AllenDang/giu/assets/57024749/445a2bee-6bcd-4e05-87a6-777356eaa6de
It reminds me of a console cursor, writing text to screen very rapidly and swinging from one side of the screen to the other, but it only happens when I move the mouse around, if I stop moving it the glitch disappears completely.
I've done some tests and it seems Table is not the problem (I removed tables from the demo, but the glitch still remains), but using tables is the easiest way to reproduce the bug.
Code example
main.go
package main
import (
g "github.com/AllenDang/giu"
)
func main() {
window := g.NewMasterWindow("Test", 640, 480, 0)
window.Run(func() {
g.SingleWindow().Layout(
g.Table().Columns(
g.TableColumn("Column"),
).Rows(
g.TableRow(
g.Label("Value"),
),
),
)
})
}
To Reproduce
Run the code in the example, or the code on master/examples/widgets/widgets.go
Version
(latest)
OS
Windows 11
oops, sorry for a bit late reply. @valazodev could you check if this still happens on v0.8.1?
lmk if you still have a problem