Closed bantya closed 1 month ago
Oops we forgot to check for this. What do we do though? prevent layer 1 from being deleted or allow it to be deleted but always check if layers count is > 1 before deleting? I think I prefer to prevent layer 1 from ever being deleted as we may refer to it as primary / root layer?. Let's see what Radu prefers and maybe other suggestions.
Fixed it by only showing the remove button when more than one layer is there.
A console error is thrown if an only layer is deleted.
We get an error like this: