From 9a48133e1b9659a734a94aaaaae611d33b6ef8ea Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sun, 4 Aug 2019 22:59:33 +0300 Subject: [PATCH] Added visible scrollbars in tech picker screen --- 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 13e264d384..776f7880f9 100644 --- a/core/src/com/unciv/ui/pickerscreens/TechPickerScreen.kt +++ b/core/src/com/unciv/ui/pickerscreens/TechPickerScreen.kt @@ -3,6 +3,7 @@ package com.unciv.ui.pickerscreens import com.badlogic.gdx.Gdx import com.badlogic.gdx.graphics.Color import com.badlogic.gdx.scenes.scene2d.ui.Label +import com.badlogic.gdx.scenes.scene2d.ui.ScrollPane import com.unciv.UnCivGame import com.unciv.logic.civilization.CivilizationInfo import com.unciv.logic.civilization.TechManager @@ -41,6 +42,7 @@ class TechPickerScreen(internal val civInfo: CivilizationInfo, centerOnTech: Tec init { setDefaultCloseAction() onBackButtonClicked { UnCivGame.Current.setWorldScreen() } + scrollPane.style = skin.get(ScrollPane.ScrollPaneStyle::class.java) // So we can see scrollbars tempTechsToResearch = ArrayList(civTech.techsToResearch)