Show model state, if it is not equal to ONLINE
This commit is contained in:
parent
8b4a82d158
commit
00f6a0fa0a
|
@ -297,6 +297,12 @@ public class ThumbCell extends StackPane {
|
||||||
} else {
|
} else {
|
||||||
resolutionBackgroundColor = resolutionOfflineColor;
|
resolutionBackgroundColor = resolutionOfflineColor;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
State state = model.getOnlineState(true);
|
||||||
|
if (state != ONLINE) {
|
||||||
|
tagText = state.name();
|
||||||
|
resolutionBackgroundColor = resolutionOfflineColor;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
Thread.currentThread().interrupt();
|
Thread.currentThread().interrupt();
|
||||||
|
|
Loading…
Reference in New Issue