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