mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-10 06:02:13 +00:00
Hide bh invert slider when it is being disabled
This commit is contained in:
parent
406fe5b500
commit
be2080aab5
@ -19,6 +19,7 @@ export default {
|
||||
isUnlocked: false,
|
||||
isPaused: false,
|
||||
isEnslaved: false,
|
||||
isLaitela: false,
|
||||
pauseMode: 0,
|
||||
detailedBH2: "",
|
||||
isPermanent: false,
|
||||
@ -59,6 +60,7 @@ export default {
|
||||
this.startAnimation();
|
||||
}
|
||||
this.isEnslaved = Enslaved.isRunning;
|
||||
this.isLaitela = Laitela.isRunning;
|
||||
this.isPermanent = BlackHoles.arePermanent;
|
||||
this.pauseMode = player.blackHoleAutoPauseMode;
|
||||
this.hasBH2 = BlackHole(2).isUnlocked;
|
||||
@ -66,7 +68,7 @@ export default {
|
||||
BlackHole(2).duration / BlackHole(2).cycleLength];
|
||||
this.detailedBH2 = this.bh2Status();
|
||||
|
||||
if (player.blackHoleNegative < 1) this.stateChange = this.isPaused ? "Uninvert" : "Invert";
|
||||
if (player.blackHoleNegative < 1 && !this.isLaitela) this.stateChange = this.isPaused ? "Uninvert" : "Invert";
|
||||
else this.stateChange = this.isPaused ? "Unpause" : "Pause";
|
||||
},
|
||||
bh2Status() {
|
||||
@ -212,7 +214,10 @@ export default {
|
||||
Active time percent: {{ formatPercents(blackHoleUptime[0], 3) }}
|
||||
<span v-if="hasBH2">and {{ formatPercents(blackHoleUptime[1], 3) }}</span>
|
||||
</div>
|
||||
<BlackHoleChargingSliders class="l-enslaved-shop-container" />
|
||||
<BlackHoleChargingSliders
|
||||
v-if="!isLaitela"
|
||||
class="l-enslaved-shop-container"
|
||||
/>
|
||||
</div>
|
||||
<div :class="gridStyle()">
|
||||
<BlackHoleUpgradeRow
|
||||
|
Loading…
Reference in New Issue
Block a user