diff --git a/scripts/map_editor.html b/scripts/map_editor.html index 8b54680..c211232 100644 --- a/scripts/map_editor.html +++ b/scripts/map_editor.html @@ -82,11 +82,23 @@ border-width: 4px; } - #canvas { + #canvas-wrapper { + position: relative; + display: inline-block; + } + + #canvas, #overlay-canvas { image-rendering: pixelated; image-rendering: crisp-edges; } + #overlay-canvas { + position: absolute; + top: 0; + left: 0; + pointer-events: none; + } + .actions button { display: block; width: 100%; @@ -275,7 +287,10 @@
- +
+ + +