Fix rectangle in android station screen not being transparent
This commit is contained in:
parent
f71bc632a0
commit
138627f8de
@ -292,7 +292,7 @@ private class AndroidResearchButton(
|
||||
val isBlockedByHovered = hovered != null && node.type in hovered.type.allBlocking
|
||||
|
||||
if (isBlockedByHovered) {
|
||||
graphics.renderRect(0f, 0f, width, height, color = AndroidStationScreen.CAN_NOT_BE_RESEARCHED)
|
||||
graphics.renderRect(0f, 0f, width, height, color = AndroidStationScreen.CAN_NOT_BE_RESEARCHED2)
|
||||
}
|
||||
|
||||
val nodeColor = if (node.isResearched) {
|
||||
@ -706,6 +706,7 @@ class AndroidStationScreen constructor(p_97741_: AndroidStationMenu, p_97742_: I
|
||||
val RESEARCHED = RGBAColor(150, 150, 200)
|
||||
val CAN_BE_RESEARCHED = RGBAColor(150, 200, 150)
|
||||
val CAN_NOT_BE_RESEARCHED = RGBAColor(200, 150, 150)
|
||||
val CAN_NOT_BE_RESEARCHED2 = RGBAColor(200, 150, 150, 127)
|
||||
val ALREADY_BLOCKED = RGBAColor(105, 79, 79)
|
||||
|
||||
private val LOW_POWER_0 = TranslatableComponent("otm.android_station.low_power_0")
|
||||
|
Loading…
Reference in New Issue
Block a user