From 256eedc7c0c19af11a7172f3d903dd13c46dbd55 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Mon, 5 Oct 2020 12:12:15 +0300 Subject: [PATCH] Lines go behind the techs in the tech screen, and are colored so you can trace the path of the current research queue --- core/src/com/unciv/ui/pickerscreens/TechPickerScreen.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/com/unciv/ui/pickerscreens/TechPickerScreen.kt b/core/src/com/unciv/ui/pickerscreens/TechPickerScreen.kt index ecae8ad4a3..4e751afa42 100644 --- a/core/src/com/unciv/ui/pickerscreens/TechPickerScreen.kt +++ b/core/src/com/unciv/ui/pickerscreens/TechPickerScreen.kt @@ -192,11 +192,13 @@ class TechPickerScreen(internal val civInfo: CivilizationInfo, centerOnTech: Tec val lineColor = when { civTech.isResearched(tech.name) && !tech.isContinuallyResearchable() -> researchedTechColor civTech.isResearched(prerequisite) -> researchableTechColor + tempTechsToResearch.contains(tech.name) -> queuedTechColor else -> Color.GRAY } line.color = lineColor techTable.addActor(line) + line.toBack() lines.add(line) } }