menu foreground color fix
This commit is contained in:
parent
518b52c686
commit
129675d9cb
|
@ -35,7 +35,7 @@ const (
|
|||
func NewMenu() *Menu {
|
||||
block := *ui.NewBlock()
|
||||
block.Border = true
|
||||
block.BorderStyle = ui.NewStyle(console.ColorDarkGrey)
|
||||
//block.BorderStyle = ui.NewStyle(console.ColorDarkGrey)
|
||||
return &Menu{
|
||||
Block: block,
|
||||
options: []MenuOption{MenuOptionMove, MenuOptionResize, MenuOptionPinpoint, MenuOptionResume},
|
||||
|
@ -94,7 +94,7 @@ func (m *Menu) Draw(buffer *ui.Buffer) {
|
|||
m.updateDimensions()
|
||||
|
||||
buffer.Fill(
|
||||
ui.NewCell(' ', ui.NewStyle(ui.ColorClear, ui.ColorBlack)),
|
||||
ui.NewCell(' ', ui.NewStyle(ui.ColorBlack)),
|
||||
m.GetRect(),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue