Skip to content

Commit

Permalink
Merge pull request daviscook477#324 from herbix/fixCardTintColor
Browse files Browse the repository at this point in the history
Fix value of AbstractCard.tintColor
  • Loading branch information
kiooeht authored Feb 24, 2022
2 parents 2a16d1c + 2c2e222 commit 3852742
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static SpireReturn<?> Prefix(AbstractCard __instance) {
}

//sets the tint and shadow colors
ReflectionHacks.setPrivate(__instance, AbstractCard.class, "tintColor", new Color(43.0f, 37.0f, 65.0f, 0.0f));
ReflectionHacks.setPrivate(__instance, AbstractCard.class, "tintColor", new Color(43.0f / 255.0f, 37.0f / 255.0f, 65.0f / 255.0f, 0.0f));
ReflectionHacks.setPrivate(__instance, AbstractCard.class, "frameShadowColor",
((Color) ReflectionHacks.getPrivateStatic(AbstractCard.class, "FRAME_SHADOW_COLOR")).cpy());

Expand Down

0 comments on commit 3852742

Please sign in to comment.