correct input_number slider (#449)

the nested div was unnecessary for the hidden attribute, placing directly on the paper-slider works fine. this behavior caused the slider to overflow the screen at specific points.
This commit is contained in:
moose51789 2017-10-16 02:20:59 -04:00 committed by Paulus Schoutsen
parent f24cb3eed5
commit 0bd330c76b

View File

@ -21,12 +21,9 @@
<div class='horizontal justified layout'>
<state-info state-obj="[[stateObj]]" in-dialog='[[inDialog]]'></state-info>
<div hidden='[[hiddenslider]]'>
<paper-slider min='[[min]]' max='[[max]]' value='{{value}}' step='[[step]]' pin
on-change='selectedValueChanged' on-tap='stopPropagation'
>
<paper-slider min='[[min]]' max='[[max]]' value='{{value}}' step='[[step]]' hidden='[[hiddenslider]]' pin
on-change='selectedValueChanged' on-tap='stopPropagation'>
</paper-slider>
</div>
<paper-input
no-label-float
auto-validate