diff options
Diffstat (limited to 'termui/label_select.go')
-rw-r--r-- | termui/label_select.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/termui/label_select.go b/termui/label_select.go index c93dd833..026eba04 100644 --- a/termui/label_select.go +++ b/termui/label_select.go @@ -6,7 +6,7 @@ import ( "github.com/MichaelMure/git-bug/bug" "github.com/MichaelMure/git-bug/cache" - "github.com/jesseduffield/gocui" + "github.com/MichaelMure/gocui" ) const labelSelectView = "labelSelectView" @@ -105,7 +105,7 @@ func (ls *labelSelect) layout(g *gocui.Gui) error { x0 := 1 y0 := 0 - ls.scroll - v, err := g.SetView(labelSelectView, x0, 0, x0+width, maxY-2, 0) + v, err := g.SetView(labelSelectView, x0, 0, x0+width, maxY-2) if err != nil { if err != gocui.ErrUnknownView { return err @@ -116,7 +116,7 @@ func (ls *labelSelect) layout(g *gocui.Gui) error { for i, label := range ls.labels { viewname := fmt.Sprintf("view%d", i) - v, err := g.SetView(viewname, x0+2, y0, x0+width-2, y0+2, 0) + v, err := g.SetView(viewname, x0+2, y0, x0+width-2, y0+2) if err != nil && err != gocui.ErrUnknownView { return err } @@ -131,7 +131,7 @@ func (ls *labelSelect) layout(g *gocui.Gui) error { y0 += 2 } - v, err = g.SetView(labelSelectInstructionsView, -1, maxY-2, maxX, maxY, 0) + v, err = g.SetView(labelSelectInstructionsView, -1, maxY-2, maxX, maxY) ls.childViews = append(ls.childViews, labelSelectInstructionsView) if err != nil { if err != gocui.ErrUnknownView { |