Skip to content

Commit

Permalink
increas the font size for frequency proximity indication
Browse files Browse the repository at this point in the history
  • Loading branch information
ftl committed Sep 30, 2023
1 parent 37afa5d commit 70991b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/spotsTableView.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (v *spotsView) fillEntryToTableRow(row *gtk.TreeIter, entry core.BandmapEnt
}

func formatSpotFrequency(frequency core.Frequency, proximity float64, onFrequency bool) string {
size := 100 + math.Abs(proximity)*10
size := 100 + math.Abs(proximity)*30
result := fmt.Sprintf("<span size=\"%.0f%%\">%.2f kHz</span>", size, frequency/1000)
if onFrequency {
return fmt.Sprintf("<b>%s</b>", result)
Expand Down

0 comments on commit 70991b0

Please sign in to comment.