Fix lag when swapping between settings and design options
This commit is contained in:
parent
fb3a3d504e
commit
f8e6dd99ef
|
@ -14,17 +14,19 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<DetailSummary {name} on:open show={open} thin>
|
<DetailSummary {name} on:open show={open} thin>
|
||||||
<div>
|
{#if open}
|
||||||
{#each properties as props}
|
<div>
|
||||||
<PropertyControl
|
{#each properties as props}
|
||||||
label={props.label}
|
<PropertyControl
|
||||||
control={props.control}
|
label={props.label}
|
||||||
key={props.key}
|
control={props.control}
|
||||||
value={style[props.key]}
|
key={props.key}
|
||||||
onChange={(key, value) => onStyleChanged(styleCategory, key, value)}
|
value={style[props.key]}
|
||||||
props={{ ...excludeProps(props, ['control', 'label']) }} />
|
onChange={(key, value) => onStyleChanged(styleCategory, key, value)}
|
||||||
{/each}
|
props={{ ...excludeProps(props, ['control', 'label']) }} />
|
||||||
</div>
|
{/each}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</DetailSummary>
|
</DetailSummary>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in New Issue