mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-02 07:11:42 +00:00
Prettier progress bars
This commit is contained in:
parent
417e0c4ccf
commit
b2bcd97f34
2 changed files with 10 additions and 10 deletions
|
@ -55,8 +55,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
height: 10,
|
height: 10,
|
||||||
style: "margin-top: 8px",
|
style: "margin-top: 8px",
|
||||||
borderStyle: "border-color: black",
|
borderStyle: "border-color: black",
|
||||||
baseStyle: "margin-top: 0",
|
baseStyle: "margin-top: -1px",
|
||||||
fillStyle: "margin-top: 0; transition-duration: 0s; background: black",
|
fillStyle: "margin-top: -1px; transition-duration: 0s; background: black",
|
||||||
progress: () => Decimal.div(breedingProgress.value, computedBreedingCooldown.value)
|
progress: () => Decimal.div(breedingProgress.value, computedBreedingCooldown.value)
|
||||||
}));
|
}));
|
||||||
const breeding = createClickable(() => ({
|
const breeding = createClickable(() => ({
|
||||||
|
@ -91,8 +91,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
height: 10,
|
height: 10,
|
||||||
style: "margin-top: 8px",
|
style: "margin-top: 8px",
|
||||||
borderStyle: "border-color: black",
|
borderStyle: "border-color: black",
|
||||||
baseStyle: "margin-top: 0",
|
baseStyle: "margin-top: -1px",
|
||||||
fillStyle: "margin-top: 0; transition-duration: 0s; background: black",
|
fillStyle: "margin-top: -1px; transition-duration: 0s; background: black",
|
||||||
progress: () => Decimal.div(shearingProgress.value, computedShearingCooldown.value)
|
progress: () => Decimal.div(shearingProgress.value, computedShearingCooldown.value)
|
||||||
}));
|
}));
|
||||||
const shearing = createClickable(() => ({
|
const shearing = createClickable(() => ({
|
||||||
|
@ -127,8 +127,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
height: 10,
|
height: 10,
|
||||||
style: "margin-top: 8px",
|
style: "margin-top: 8px",
|
||||||
borderStyle: "border-color: black",
|
borderStyle: "border-color: black",
|
||||||
baseStyle: "margin-top: 0",
|
baseStyle: "margin-top: -1px",
|
||||||
fillStyle: "margin-top: 0; transition-duration: 0s; background: black",
|
fillStyle: "margin-top: -1px; transition-duration: 0s; background: black",
|
||||||
progress: () => Decimal.div(spinningProgress.value, computedSpinningCooldown.value)
|
progress: () => Decimal.div(spinningProgress.value, computedSpinningCooldown.value)
|
||||||
}));
|
}));
|
||||||
const spinning = createClickable(() => ({
|
const spinning = createClickable(() => ({
|
||||||
|
|
|
@ -541,8 +541,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
width: 100,
|
width: 100,
|
||||||
height: 10,
|
height: 10,
|
||||||
style: "margin-top: 8px",
|
style: "margin-top: 8px",
|
||||||
baseStyle: "margin-top: 0",
|
baseStyle: "margin-top: -1px",
|
||||||
fillStyle: "margin-top: 0; transition-duration: 0s",
|
fillStyle: "margin-top: -1px; transition-duration: 0s",
|
||||||
progress: () => Decimal.div(manualCutProgress.value, computedManualCuttingCooldown.value)
|
progress: () => Decimal.div(manualCutProgress.value, computedManualCuttingCooldown.value)
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
@ -593,8 +593,8 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
width: 100,
|
width: 100,
|
||||||
height: 10,
|
height: 10,
|
||||||
style: "margin-top: 8px",
|
style: "margin-top: 8px",
|
||||||
baseStyle: "margin-top: 0",
|
baseStyle: "margin-top: -1px",
|
||||||
fillStyle: "margin-top: 0; transition-duration: 0s",
|
fillStyle: "margin-top: -1px; transition-duration: 0s",
|
||||||
progress: () => Decimal.div(manualPlantProgress.value, computedManualPlantingCooldown.value)
|
progress: () => Decimal.div(manualPlantProgress.value, computedManualPlantingCooldown.value)
|
||||||
}));
|
}));
|
||||||
const plantTree = createClickable(() => ({
|
const plantTree = createClickable(() => ({
|
||||||
|
|
Loading…
Add table
Reference in a new issue