change render rate
This commit is contained in:
parent
129675d9cb
commit
83ab5d6e64
|
@ -8,7 +8,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
RenderRate = 25 * time.Millisecond
|
RenderRate = 100 * time.Millisecond
|
||||||
Title = "sampler"
|
Title = "sampler"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ 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)
|
|
||||||
return &Menu{
|
return &Menu{
|
||||||
Block: block,
|
Block: block,
|
||||||
options: []MenuOption{MenuOptionMove, MenuOptionResize, MenuOptionPinpoint, MenuOptionResume},
|
options: []MenuOption{MenuOptionMove, MenuOptionResize, MenuOptionPinpoint, MenuOptionResume},
|
||||||
|
|
Loading…
Reference in New Issue