Skip to content

Commit

Permalink
Improves the speed of the help modal display
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Cummer committed Aug 1, 2018
1 parent e5a66ed commit 00abe70
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions gerrit/widget.go
Expand Up @@ -183,4 +183,5 @@ func (widget *Widget) showHelp() {

widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}
1 change: 1 addition & 0 deletions git/widget.go
Expand Up @@ -211,4 +211,5 @@ func (widget *Widget) showHelp() {

widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}
1 change: 1 addition & 0 deletions github/widget.go
Expand Up @@ -136,4 +136,5 @@ func (widget *Widget) showHelp() {

widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}
1 change: 1 addition & 0 deletions gitlab/widget.go
Expand Up @@ -156,4 +156,5 @@ func (widget *Widget) showHelp() {

widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}
1 change: 1 addition & 0 deletions jira/widget.go
Expand Up @@ -221,4 +221,5 @@ func (widget *Widget) showHelp() {

widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}
1 change: 1 addition & 0 deletions textfile/widget.go
Expand Up @@ -175,4 +175,5 @@ func (widget *Widget) showHelp() {

widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}
1 change: 1 addition & 0 deletions todo/widget.go
Expand Up @@ -232,6 +232,7 @@ func (widget *Widget) showHelp() {

widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}

/* -------------------- Modal Form -------------------- */
Expand Down
1 change: 1 addition & 0 deletions todoist/widget.go
Expand Up @@ -198,6 +198,7 @@ func (widget *Widget) showHelp() {

widget.pages.AddPage("help", modal, false, true)
widget.app.SetFocus(modal)
widget.app.Draw()
}

func (w *Widget) vimBindings(event *tcell.EventKey) tcell.Key {
Expand Down

0 comments on commit 00abe70

Please sign in to comment.