UI: fix layout glitch due to refactoring

This commit is contained in:
Pieter Vander Vennet 2024-07-18 14:53:58 +02:00
parent d4af7e9d6e
commit a5312a761c

View file

@ -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={() =>