From 958a2768d707db0727deba1c49d8476e80ca364f Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Wed, 23 Sep 2020 22:10:45 -0600 Subject: [PATCH] Fix clicking in the editor lol --- style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 97b8ae2..8e3bb11 100644 --- a/style.css +++ b/style.css @@ -619,13 +619,15 @@ main.--has-demo .demo-controls { position: relative; overflow: auto; } -#editor .level-editor-overlay { +#editor svg.level-editor-overlay { position: absolute; top: 0; left: 0; /* FIXME get real size */ width: 1024px; height: 1024px; + /* allow clicks to go through us! */ + pointer-events: none; } #editor .level-editor-overlay rect.overlay-cxn { stroke-width: 0.0625;