1
0
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:
Chris Cummer
2018-06-21 20:35:39 -07:00
parent 1a898b05e3
commit 82e4602dc3
3 changed files with 8 additions and 13 deletions

View File

@@ -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[:])
}