Skip to content

Commit

Permalink
default color fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Aug 16, 2024
1 parent 4fb9d71 commit a3d7ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/autoColorRing.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getHealthLevel } from "./systemCompatability.js";
export function autoColorRing() {
// Ensure this.document and this.document.ring exist
const ringColors = this.document?.ring?.colors || {};
const { ring = Color.WHITE, background = Color.BLACK } = ringColors;
const { ring, background } = ringColors;

const ringSetting = getSetting(this, "type", "ring");
const backgroundSetting = getSetting(this, "type", "bg");
Expand Down

0 comments on commit a3d7ef9

Please sign in to comment.