Fix #1847 top left icon

This commit is contained in:
Victor Shcherb 2015-11-25 14:50:09 +01:00
parent 7583d2447b
commit 4934413ac6

View file

@ -50,8 +50,8 @@ public class NextTurnInfoWidget extends TextInfoWidget {
}
public void setTurnType(TurnType turnType) {
updateVisibility(turnType != null);
if (turnDrawable.setTurnType(turnType)) {
boolean vis = updateVisibility(turnType != null);
if (turnDrawable.setTurnType(turnType) || vis) {
if(horisontalMini) {
setImageDrawable(turnDrawable, false);
} else {