This commit is contained in:
Anuken
2020-11-13 12:57:49 -05:00
parent 3b3b1520f9
commit 648150df65

View File

@@ -277,8 +277,10 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
@Override @Override
public void draw(){ public void draw(){
planets.render(PlanetDialog.this); planets.render(PlanetDialog.this);
if(Core.scene.getDialog() == PlanetDialog.this){
Core.scene.setScrollFocus(PlanetDialog.this); Core.scene.setScrollFocus(PlanetDialog.this);
} }
}
}, },
//info text //info text
new Table(t -> { new Table(t -> {