Compare commits

..

No commits in common. "0d05fdb30703bf82b20d752128f496ab13e339ed" and "bab8c1f3830d1ebaf67d8427fda524b2fa122be5" have entirely different histories.

2 changed files with 1 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -26,15 +26,8 @@ func newWindow(w fyne.Window, layout LayoutContract) Window {
w.CenterOnScreen()
go func() {
/**
* Bug fixed.
* When starting the program, sometimes the window was displayed incorrectly.
*/
time.Sleep(time.Millisecond * 500)
size := w.Canvas().Size()
size.Width += 1
size.Height += 1
w.Resize(size)
w.Resize(fyne.Size{Width: 1040, Height: 600})
}()
return Window{