UI: fix layout glitch due to refactoring
This commit is contained in:
parent
d4af7e9d6e
commit
a5312a761c
1 changed files with 3 additions and 1 deletions
|
@ -44,9 +44,11 @@
|
|||
<div class:focus={$highlightedLayer === filteredLayer.layerDef.id} class="mb-1.5">
|
||||
<Checkbox selected={isDisplayed}>
|
||||
<If condition={filteredLayer.isDisplayed}>
|
||||
<div class="block h-6 w-6 no-image-background">
|
||||
<ToSvelte
|
||||
construct={() => layer.defaultIcon()?.SetClass("block h-6 w-6 no-image-background")}
|
||||
construct={() => layer.defaultIcon()}
|
||||
/>
|
||||
</div>
|
||||
<ToSvelte
|
||||
slot="else"
|
||||
construct={() =>
|
||||
|
|
Loading…
Reference in a new issue