Prevent showing placeholder dot when placeholder is invisible

This commit is contained in:
Andrew Kingston 2022-10-14 19:04:05 +01:00
parent 1b08e88c6f
commit ef28b10def
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
})
</script>
{#if left != null}
{#if left != null && top != null && width && height}
<div
class="overlay"
style="left: {left}px; top: {top}px; width: {width}px; height: {height}px;"