From 01c1947537e4e23ded0c16812a7cd9d49ad88356 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 29 Nov 2023 20:26:30 -0500 Subject: fix yellow cursor being below overlapping line --- app/assets/javascripts/wittle/trace2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets') diff --git a/app/assets/javascripts/wittle/trace2.js b/app/assets/javascripts/wittle/trace2.js index 81439e7..000e60b 100644 --- a/app/assets/javascripts/wittle/trace2.js +++ b/app/assets/javascripts/wittle/trace2.js @@ -560,7 +560,7 @@ window.onTraceStart = function(puzzle, pos, svg, start, symStart=null) { sym = true) data.symcursor = createElement('circle') - svg.insertBefore(data.symcursor, data.cursor) + svg.appendChild(data.symcursor) if (data.puzzle.settings.INVISIBLE_SYMMETRY) { data.symcursor.setAttribute('class', 'line-4 ' + data.svg.id) } else { -- cgit 1.4.1