diff --git a/core/src/com/unciv/civinfo/MapUnit.java b/core/src/com/unciv/civinfo/MapUnit.java index 72fe39f87f..52c32583f4 100644 --- a/core/src/com/unciv/civinfo/MapUnit.java +++ b/core/src/com/unciv/civinfo/MapUnit.java @@ -45,7 +45,7 @@ public class MapUnit{ } } - private void doAutomatedAction(TileInfo tile){ + public void doAutomatedAction(TileInfo tile){ if(tile.owner!=null && tile.improvement==null // We'll be working this tile && (tile.workingCity!=null || tile.resource!=null || tile.improvementInProgress!=null) && tile.canBuildImprovement(GameBasics.TileImprovements.get(chooseImprovement(tile)))) diff --git a/core/src/com/unciv/game/CityScreen.java b/core/src/com/unciv/game/CityScreen.java index 4f156cb2a0..256531a862 100644 --- a/core/src/com/unciv/game/CityScreen.java +++ b/core/src/com/unciv/game/CityScreen.java @@ -96,7 +96,7 @@ public class CityScreen extends CameraStageBaseScreen { private Image getSpecialistIcon(String imageName, final boolean isFilled, final FullStats specialistType) { Image specialist = ImageGetter.getImage(imageName); - specialist.setSize(30,30); + specialist.setSize(40,40); if(!isFilled) specialist.setColor(Color.GRAY); specialist.addListener(new ClickListener(){ @Override diff --git a/core/src/com/unciv/game/WorldScreen.java b/core/src/com/unciv/game/WorldScreen.java index 6980a553c7..b7cd2a11e7 100644 --- a/core/src/com/unciv/game/WorldScreen.java +++ b/core/src/com/unciv/game/WorldScreen.java @@ -71,7 +71,10 @@ public class WorldScreen extends CameraStageBaseScreen { stage.addActor(civTable); stage.addActor(techButton); - stage.addActor(notificationsTable); + + ScrollPane notificationsScroll = new ScrollPane(notificationsTable); + notificationsScroll.setSize(stage.getWidth()/3, stage.getHeight()/3); + stage.addActor(notificationsScroll); addSelectIdleUnitButton(); update(); @@ -473,7 +476,10 @@ public class WorldScreen extends CameraStageBaseScreen { public void clicked(InputEvent event, float x, float y) { if ("automation".equals(selectedTile.unit.action)) selectedTile.unit.action = null; - else selectedTile.unit.action = "automation"; + else { + selectedTile.unit.action = "automation"; + selectedTile.unit.doAutomatedAction(selectedTile); + } update(); } });