Skip to content

Commit

Permalink
Tweak tricolor schedule post
Browse files Browse the repository at this point in the history
  • Loading branch information
misenhower committed Sep 13, 2024
1 parent cbb485f commit 5e587e4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions app/social/generators/SchedulesStatus.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ export default class SchedulesStatus extends StatusGenerator
let stages = await this.getStages();

// If the Tricolor stage is active, we need to make the image size a little taller
let viewport = stages.tricolor?.isTricolorActive
? { height: 925 }
: { };
// let viewport = stages.tricolor?.isTricolorActive
// ? { height: 925 }
// : { };
let viewport = {}; // Disabling for now

let media = new Media;
media.file = await screenshotHelper.capture('schedules', { viewport });
Expand All @@ -88,10 +89,6 @@ export default class SchedulesStatus extends StatusGenerator
`Splatfest Battle (Open): ${detail(stages.splatfestOpen)}`,
`Splatfest Battle (Pro): ${detail(stages.splatfestPro)}`,
]);

if (stages.tricolor?.isTricolorActive) {
lines.push(`Splatfest Battle (Tricolor): Tricolor Turf War on ${stages.tricolor.tricolorStage.name}`);
}
} else {
lines.push(...[
`Regular Battle: ${detail(stages.regular)}`,
Expand Down

0 comments on commit 5e587e4

Please sign in to comment.