strip: reenable spacin prop

This commit is contained in:
jean-emmanuel 2018-05-09 01:34:42 +02:00
parent cc4a11db09
commit fbd7e88d5f
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@
- bug fixes
- broken remote-control /TABS command
- disabled `spacing` property in strips
## 0.30.1

View file

@ -46,6 +46,8 @@ module.exports = class Strip extends Panel {
super(options)
this.disabledProps = []
if (this.getProp('spacing')) {
var spacing = this.getProp('spacing')
if (!isNaN(spacing)) spacing += 'rem'