diff --git a/elements/controller-number/controller-number.styl b/elements/controller-number/controller-number.styl index 2be3e1c..0275bb1 100644 --- a/elements/controller-number/controller-number.styl +++ b/elements/controller-number/controller-number.styl @@ -13,10 +13,8 @@ knob-size = 6px font-size: 0; height: 100%; user-select: none;\ - } - #track-container { width: 100%; height: track-height; diff --git a/elements/gui-panel/gui-panel.js b/elements/gui-panel/gui-panel.js index feeeef1..93feb0c 100644 --- a/elements/gui-panel/gui-panel.js +++ b/elements/gui-panel/gui-panel.js @@ -43,7 +43,9 @@ Polymer('gui-panel', { if ( typeof object == 'object' ) { controller.object = object; controller.property = property; - } + } else { + controller.value = value; + } row.name = property; diff --git a/elements/gui-panel/gui-panel.styl b/elements/gui-panel/gui-panel.styl index 17c8177..b75b697 100644 --- a/elements/gui-panel/gui-panel.styl +++ b/elements/gui-panel/gui-panel.styl @@ -7,7 +7,6 @@ right: 20px; width: 270px; - } #closeButton { diff --git a/elements/gui-row/gui-row.html b/elements/gui-row/gui-row.html index c3339f6..9bc2088 100644 --- a/elements/gui-row/gui-row.html +++ b/elements/gui-row/gui-row.html @@ -25,8 +25,6 @@