Skip to content

Commit

Permalink
update scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanfrans committed Mar 27, 2024
1 parent 3ffea50 commit cc6ac6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hardbulls/wbsc-ticker-chrome-extension",
"description": "WBSC Live Ticker Chrome Extension",
"version": "0.0.8",
"version": "0.1.0",
"private": true,
"author": {
"name": "Arjan Frans",
Expand All @@ -11,7 +11,7 @@
"license": "UNLICENSED",
"homepage": "https://www.hardbulls.com",
"devDependencies": {
"@hardbulls/baseball-scoreboard": "^1.3.2",
"@hardbulls/baseball-scoreboard": "^1.4.1",
"@types/chrome": "^0.0.254",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
Expand Down
2 changes: 0 additions & 2 deletions src/overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ import { MessageType } from "./chrome/MessageType";
scoreboardElement.hideBases = `${options.hideBases}`;
scoreboardElement.hideCounts = `${options.hideCounts}`;

scoreboardElement.mode = "normal";
scoreboardElement.hideInning = `false`;
scoreboardElement.leagueLogoShadow = `${options.leagueLogoShadow}`;
scoreboardElement.leagueLogoSrc = options.league && `${options.league?.data}`;
Expand Down Expand Up @@ -163,7 +162,6 @@ import { MessageType } from "./chrome/MessageType";
const hidePlayerboard = playersState.hidePlayers;

playerboardElement.style.visibility = hidePlayerboard ? "hidden" : "visible";
playerboardElement.mode = "normal";
playerboardElement.inning = inning;
playerboardElement.awayGradient = toGradientValue(teams.awayGradient);
playerboardElement.homeGradient = toGradientValue(teams.homeGradient);
Expand Down

0 comments on commit cc6ac6a

Please sign in to comment.