From 15aec083727238d70baa900f82a3fdb7095d6b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20B=C3=A9nard?= Date: Thu, 24 Sep 2020 16:12:06 +0200 Subject: [PATCH] Layers are now insert on top of existing ones (close #94) --- src.api/led/Definitions.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src.api/led/Definitions.hx b/src.api/led/Definitions.hx index d880afe00..81a36550e 100644 --- a/src.api/led/Definitions.hx +++ b/src.api/led/Definitions.hx @@ -103,7 +103,7 @@ class Definitions { l.tilesetDefUid = td.uid; } - layers.push(l); + layers.insert(0,l); _project.tidy(); return l; }