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