clarity
This commit is contained in:
parent
49b8f675df
commit
2ea148bec3
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user