This commit is contained in:
parent
48d2da4a89
commit
069acabf1b
|
@ -62,12 +62,11 @@ func OpenWindows() {
|
||||||
Height: astilectron.PtrInt(800),
|
Height: astilectron.PtrInt(800),
|
||||||
Width: astilectron.PtrInt(1200),
|
Width: astilectron.PtrInt(1200),
|
||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("new window failed", err)
|
log.Error("new window failed", err)
|
||||||
}
|
}
|
||||||
if err = wFrontend.Create(); err != nil {
|
if err = wFrontend.Create(); err != nil {
|
||||||
log.Error("creating window failed", err)
|
log.Error("creating window failed ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// If several displays, move the window to the second display
|
// If several displays, move the window to the second display
|
||||||
|
@ -91,7 +90,7 @@ func OpenWindows() {
|
||||||
log.Error("new window failed", err)
|
log.Error("new window failed", err)
|
||||||
}
|
}
|
||||||
if err = wAdmin.Create(); err != nil {
|
if err = wAdmin.Create(); err != nil {
|
||||||
log.Error("creating window failed", err)
|
log.Error("creating window failed ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Blocking pattern
|
// Blocking pattern
|
||||||
|
|
Loading…
Reference in New Issue
Block a user