Commit 9d7cc047 authored by Thomas Frobieter's avatar Thomas Frobieter
Browse files

Issue #3261592: Type Score: Breaks if no scoreBarEndColor is set by the user

parent ee66076d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@
              width: scoreStrokeWidthStart
            },
            to: {
              color: scoreBarEndColor,
              color: scoreBarEndColor.length ? scoreBarEndColor : scoreBarColor,
              width: scoreStrokeWidth
            },
            // Set default step function for all animate calls
@@ -139,7 +139,7 @@
              width: scoreStrokeWidthStart
            },
            to: {
              color: scoreBarEndColor,
              color: scoreBarEndColor.length ? scoreBarEndColor : scoreBarColor,
              width: scoreStrokeWidth
            },
            step: (state, bar) => {
@@ -168,7 +168,7 @@
              width: scoreStrokeWidthStart
            },
            to: {
              color: scoreBarEndColor,
              color: scoreBarEndColor.length ? scoreBarEndColor : scoreBarColor,
              width: scoreStrokeWidth
            },
            // Set default step function for all animate calls