diff --git a/src/api/content/game-content.ts b/src/api/content/game-content.ts index e6467cbd..a24481fb 100644 --- a/src/api/content/game-content.ts +++ b/src/api/content/game-content.ts @@ -91,7 +91,7 @@ export class GameContentAPI extends AbstractContentAPI { console.error(data.toString()); }); - prDownloaderProcess.on("close", async () => { + prDownloaderProcess.on("exit", async () => { if (downloadInfo) { if (!this.installedVersions.includes(downloadInfo.name)) { this.installedVersions.push(downloadInfo.name); diff --git a/src/components/navbar/DownloadsButton.vue b/src/components/navbar/DownloadsButton.vue index a923904c..53d14e3b 100644 --- a/src/components/navbar/DownloadsButton.vue +++ b/src/components/navbar/DownloadsButton.vue @@ -31,8 +31,9 @@ const downloadPercent = computed(() => { position: relative; &:before { @extend .fullsize; + width: calc(100% - 2px); top: 0; - left: 0; + left: 1px; z-index: -1; background: radial-gradient(ellipse at top, hsla(69, 100%, 50%, 0.685), transparent), radial-gradient(ellipse at bottom, #2c4e05c7, transparent); background-repeat: no-repeat;