Версия 0.4.0. #5

Merged
kor-elf merged 7 commits from develop into main 2024-02-17 20:33:18 +06:00
Showing only changes of commit 8e6fb90482 - Show all commits

View File

@ -26,8 +26,15 @@ 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)
w.Resize(fyne.Size{Width: 1040, Height: 600})
size := w.Canvas().Size()
size.Width += 1
size.Height += 1
w.Resize(size)
}()
return Window{