Display hovered sector on mobile
This commit is contained in:
@@ -936,7 +936,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
|||||||
sectorTop.color.a = Mathf.lerpDelta(sectorTop.color.a, 1f, 0.1f);
|
sectorTop.color.a = Mathf.lerpDelta(sectorTop.color.a, 1f, 0.1f);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(hovered != null && !mobile && state.planet.hasGrid()){
|
if(hovered != null && state.planet.hasGrid()){
|
||||||
addChild(hoverLabel);
|
addChild(hoverLabel);
|
||||||
hoverLabel.toFront();
|
hoverLabel.toFront();
|
||||||
hoverLabel.touchable = Touchable.disabled;
|
hoverLabel.touchable = Touchable.disabled;
|
||||||
|
|||||||
Reference in New Issue
Block a user