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:
parent
66c8cba965
commit
eff0d55c28
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user