diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-06-23 04:32:28 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-06-23 04:32:28 +0200 |
commit | 72ef5f4fde6945e53a60cd5ac49437034ebcbd15 (patch) | |
tree | 680110c847395ce887647587ed3c5b4f0d73151e | |
parent | 1fb687a051d37d6d13bfdcc8f84e6cf1165cadc7 (diff) | |
download | kvision-72ef5f4fde6945e53a60cd5ac49437034ebcbd15.tar.gz kvision-72ef5f4fde6945e53a60cd5ac49437034ebcbd15.tar.bz2 kvision-72ef5f4fde6945e53a60cd5ac49437034ebcbd15.zip |
Hardcode blue flash theme.
-rw-r--r-- | kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt b/kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt index e429ff77..ceb4cc10 100644 --- a/kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt +++ b/kvision-modules/kvision-pace/src/main/kotlin/pl/treksoft/kvision/pace/Pace.kt @@ -171,11 +171,7 @@ enum class PaceTheme(var paceThemeString: String) { class Pace { companion object { fun init() { - setNewTheme(PaceColor.Blue, PaceTheme.Flash) - } - - fun setNewTheme(color: PaceColor, theme: PaceTheme) { - require("pace-progressbar/themes/${color.paceColorString}/pace-theme-${theme.paceThemeString}.css") + require("pace-progressbar/themes/blue/pace-theme-flash.css") } fun setOptions(options: PaceOptions) { |