mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 10:54:19 -04:00
Fix settings load dependency on UncivGame.Current
This commit is contained in:
parent
001185f4c7
commit
3785dcc532
@ -81,8 +81,7 @@ interface ISortableGridContentProvider<IT, ACT> {
|
|||||||
items.sumOf { getEntryValue(it) }.toCenteredLabel()
|
items.sumOf { getEntryValue(it) }.toCenteredLabel()
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
@JvmStatic
|
val collator by lazy {UncivGame.Current.settings.getCollatorFromLocale()}
|
||||||
val collator = UncivGame.Current.settings.getCollatorFromLocale()
|
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun getCircledIcon(path: String, iconSize: Float, circleColor: Color = Color.LIGHT_GRAY) =
|
fun getCircledIcon(path: String, iconSize: Float, circleColor: Color = Color.LIGHT_GRAY) =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user