Update dependencies in go.sum to latest versions
This commit removes outdated dependencies and adds updated versions of required modules in the `go.sum` file. The changes ensure the project uses the latest compatible releases, improving stability and maintaining compatibility with current updates.
This commit is contained in:
@@ -26,7 +26,7 @@ func newWindow(w fyne.Window, layout LayoutContract) Window {
|
||||
w.Resize(windowSize)
|
||||
w.CenterOnScreen()
|
||||
|
||||
go func() {
|
||||
fyne.Do(func() {
|
||||
/**
|
||||
* Bug fixed.
|
||||
* When starting the program, sometimes the window was displayed incorrectly.
|
||||
@@ -35,7 +35,7 @@ func newWindow(w fyne.Window, layout LayoutContract) Window {
|
||||
windowSize.Height += 1
|
||||
time.Sleep(time.Millisecond * 500)
|
||||
w.Resize(windowSize)
|
||||
}()
|
||||
})
|
||||
|
||||
return Window{
|
||||
windowFyne: w,
|
||||
@@ -44,7 +44,9 @@ func newWindow(w fyne.Window, layout LayoutContract) Window {
|
||||
}
|
||||
|
||||
func (w Window) SetContent(content fyne.CanvasObject) {
|
||||
w.windowFyne.SetContent(w.layout.SetContent(content))
|
||||
fyne.Do(func() {
|
||||
w.windowFyne.SetContent(w.layout.SetContent(content))
|
||||
})
|
||||
}
|
||||
|
||||
func (w Window) NewFileOpen(callback func(fyne.URIReadCloser, error), location fyne.ListableURI) *dialog.FileDialog {
|
||||
|
||||
Reference in New Issue
Block a user