diff --git a/src/UI/Studio/DeleteButton.svelte b/src/UI/Studio/DeleteButton.svelte index f05e88b39..191379f4a 100644 --- a/src/UI/Studio/DeleteButton.svelte +++ b/src/UI/Studio/DeleteButton.svelte @@ -1,10 +1,9 @@ -
- {#if deleteState === "init"} - - {:else if deleteState === "confirm"} -
- { - deleteState = "init" - }} - > - Don't delete - - deleteLayer()}> -
- - Do delete this {objectType} -
-
+ +
+ + Delete this {objectType} +
+ +
+
+ Deleting this layer will delete your version. If you clicked a layer made by someone else, their version will + remain. + + If you ever accidentally delete a layer, contact Pietervdvn. He might have a backup
- {/if} -
+ + deleteLayer()}> +
+ + Do delete this {objectType} +
+
+ +
+ + +