diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a6a354e..f44eb21c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.39.1 + +- bug fixes + - regressions breaking icons in switches' labels + ## 0.39.0 - performance @@ -7,7 +12,7 @@ - widgets - remove support for deprecated properties `path`, `noPip` and `noSync` - sliders/pads: `precision` is no longer a dynamic property - + ## 0.38.7 - bug fixes diff --git a/src/client/app/widgets/buttons/switch.js b/src/client/app/widgets/buttons/switch.js index cf085eea..80bf6af3 100644 --- a/src/client/app/widgets/buttons/switch.js +++ b/src/client/app/widgets/buttons/switch.js @@ -1,6 +1,7 @@ var Widget = require('../common/widget'), {iconify} = require('../../ui/utils'), - html = require('nanohtml') + html = require('nanohtml'), + raw = require('nanohtml/raw') module.exports = class Switch extends Widget { @@ -53,7 +54,7 @@ module.exports = class Switch extends Widget { if (this.getProp('showValues') && !isArray) label = label + ': ' + (this.stringValues[this.stringValues.length - 1] || values[k]) this.widget.appendChild(html` -