mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Make BarGraph example graph icon configurable
Set 'wtf.mods.bargraph.graphIcon` to the string you want to use as the graph icon.
This commit is contained in:
@@ -50,7 +50,8 @@ func MakeGraph(widget *Widget) {
|
||||
|
||||
}
|
||||
|
||||
widget.BarGraph.BuildBars(20, "🌟", stats[:])
|
||||
icon := wtf.Config.UString("wtf.mods.bargraph.graphIcon", "✭ ")
|
||||
widget.BarGraph.BuildBars(20, icon, stats[:])
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user