Modify IDs and TDs to hopefully not shrink text as much (#3446)

* Modify IDs and TDs to hopefully not shrink text as much

* Modify the removal of the cost display to be the exact same for both IDs and TDs
This commit is contained in:
Donaldino7712 2024-06-28 13:24:48 +02:00 committed by GitHub
parent 442d6583ad
commit e03a7b2ea7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View File

@ -73,7 +73,7 @@ export default {
this.hasPrevTier; this.hasPrevTier;
}, },
showCostTitle() { showCostTitle() {
return this.cost.exponent < 1e6; return this.cost.exponent < 1e5;
} }
}, },
watch: { watch: {

View File

@ -58,7 +58,7 @@ export default {
return `Reach ${formatPostBreak(InfinityDimension(this.tier).amRequirement)} AM`; return `Reach ${formatPostBreak(InfinityDimension(this.tier).amRequirement)} AM`;
}, },
hasLongText() { hasLongText() {
return this.costDisplay.length > 15; return this.costDisplay.length > 20;
}, },
capTooltip() { capTooltip() {
if (this.enslavedRunning) return `Nameless prevents the purchase of more than ${format(10)} Infinity Dimensions`; if (this.enslavedRunning) return `Nameless prevents the purchase of more than ${format(10)} Infinity Dimensions`;
@ -70,7 +70,7 @@ export default {
this.hasPrevTier; this.hasPrevTier;
}, },
showCostTitle() { showCostTitle() {
return this.cost.exponent < 1e6; return this.cost.exponent < 1e5;
} }
}, },
watch: { watch: {

View File

@ -68,7 +68,7 @@ export default {
return this.buttonContents.length > 20; return this.buttonContents.length > 20;
}, },
showCostTitle() { showCostTitle() {
return this.cost.exponent < 1e6; return this.cost.exponent < 1e5;
}, },
timeEstimate() { timeEstimate() {
if (!this.showTTCost || this.ttGen.eq(0)) return ""; if (!this.showTTCost || this.ttGen.eq(0)) return "";

View File

@ -67,10 +67,10 @@ export default {
return this.isCapped ? "Capped" : `${this.showCostTitle ? "Cost: " : ""}${format(this.cost, 2)} EP`; return this.isCapped ? "Capped" : `${this.showCostTitle ? "Cost: " : ""}${format(this.cost, 2)} EP`;
}, },
hasLongText() { hasLongText() {
return this.buttonContents.length > 15; return this.buttonContents.length > 20;
}, },
showCostTitle() { showCostTitle() {
return this.cost.exponent < 1e6; return this.cost.exponent < 1e5;
}, },
timeEstimate() { timeEstimate() {
if (!this.showTTCost || this.ttGen.eq(0)) return ""; if (!this.showTTCost || this.ttGen.eq(0)) return "";