From 8da6d6a157c70f00f5e765c921c527b268f34a72 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 29 Jun 2020 08:55:29 -0700 Subject: [PATCH] Rename "label" to "achievement" The word "label" was far too generic to capture the stlying needs for this class. Thanks to Andrew for pointing out that this feature is really what games today call an "achievement". --- empathy/empathy.css | 2 +- empathy/empathy.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/empathy/empathy.css b/empathy/empathy.css index 3ab2fc6..adc8f6a 100644 --- a/empathy/empathy.css +++ b/empathy/empathy.css @@ -104,7 +104,7 @@ transition-delay: 1s; } -.label { +.achievement { border-radius: 4px; background-color: var(--accent-color-bright); color: var(--text-fg-on-accent-bright); diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 53d7763..30aa0ca 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -1216,7 +1216,7 @@ class Game extends React.PureComponent { {state.scores.scores.map(score => { let perfect = null; if (score.score == perfect_score) { - perfect = Perfect!; + perfect = Perfect!; } return (
  • -- 2.43.0