This commit is contained in:
David 2021-07-28 21:41:35 -04:00
parent 49b8f675df
commit 2ea148bec3

View File

@ -135,10 +135,7 @@ func main() {
false,
)
// pop-up
popup := ui.NewBox("import", nil, nil, ui.StyleActive, false)
popup.SetVisible(false)
// parent container
container := ui.NewContainer(
ui.Contents{
{Container: menu, Offsets: ui.Offsets{Percent: 1}},
@ -147,6 +144,10 @@ func main() {
ui.LayoutHorizontalPercent,
)
// import pop-up
popup := ui.NewBox("import", nil, nil, ui.StyleActive, false)
popup.SetVisible(false)
// init
screen.Clear()
w, h := screen.Size()