1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix spelling mistake in DefaultFocussedRowColor() name

This commit is contained in:
Chris Cummer 2019-07-05 22:33:15 -07:00
parent 66c8cba965
commit eff0d55c28
3 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ func NewCommonSettingsFromModule(name, defaultTitle string, moduleConfig *config
return &common
}
func (common *Common) DefaultFocussedRowColor() string {
func (common *Common) DefaultFocusedRowColor() string {
return fmt.Sprintf("%s:%s", common.Colors.HighlightFore, common.Colors.HighlightBack)
}

View File

@ -65,7 +65,7 @@ func (widget *Widget) displayStats(project *GerritProject) string {
func (widget *Widget) rowColor(idx int) string {
if widget.View.HasFocus() && (idx == widget.selected) {
return widget.settings.common.DefaultFocussedRowColor()
return widget.settings.common.DefaultFocusedRowColor()
}
return widget.settings.common.RowColor(idx)

View File

@ -42,7 +42,7 @@ func (widget *ScrollableWidget) GetSelected() int {
func (widget *ScrollableWidget) RowColor(idx int) string {
if widget.View.HasFocus() && (idx == widget.Selected) {
return widget.CommonSettings.DefaultFocussedRowColor()
return widget.CommonSettings.DefaultFocusedRowColor()
}
return widget.CommonSettings.RowColor(idx)