mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
🐛 Fix multiple constraints dropdown not showing 'mixed'
This commit is contained in:
parent
da40d662be
commit
c8ff8fcbf7
1 changed files with 2 additions and 2 deletions
|
@ -209,12 +209,12 @@
|
||||||
[:div {:class (stl/css :contraints-selects)}
|
[:div {:class (stl/css :contraints-selects)}
|
||||||
[:div {:class (stl/css :horizontal-select)}
|
[:div {:class (stl/css :horizontal-select)}
|
||||||
[:& select
|
[:& select
|
||||||
{:default-value (d/nilv (d/name constraints-h) "scale")
|
{:default-value (if (not= constraints-h :multiple) (d/nilv (d/name constraints-h) "scale") "")
|
||||||
:options options-h
|
:options options-h
|
||||||
:on-change on-constraint-h-select-changed}]]
|
:on-change on-constraint-h-select-changed}]]
|
||||||
[:div {:class (stl/css :vertical-select)}
|
[:div {:class (stl/css :vertical-select)}
|
||||||
[:& select
|
[:& select
|
||||||
{:default-value (d/nilv (d/name constraints-v) "scale")
|
{:default-value (if (not= constraints-v :multiple) (d/nilv (d/name constraints-v) "scale") "")
|
||||||
:options options-v
|
:options options-v
|
||||||
:on-change on-constraint-v-select-changed}]]
|
:on-change on-constraint-v-select-changed}]]
|
||||||
(when first-level?
|
(when first-level?
|
||||||
|
|
Loading…
Reference in a new issue