about summary refs log tree commit diff stats
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-29 20:26:30 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-29 20:26:30 -0500
commit01c1947537e4e23ded0c16812a7cd9d49ad88356 (patch)
treec34030fec33716546d565361c6aea89b99a3a21e /app/assets/javascripts
parent521a44eb720c0dbd8a30b38973fcd0352a22f825 (diff)
downloadwittle-01c1947537e4e23ded0c16812a7cd9d49ad88356.tar.gz
wittle-01c1947537e4e23ded0c16812a7cd9d49ad88356.tar.bz2
wittle-01c1947537e4e23ded0c16812a7cd9d49ad88356.zip
fix yellow cursor being below overlapping line
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/wittle/trace2.js2
1 files changed, 1 insertions, 1 deletions
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) {
560 sym = true) 560 sym = true)
561 561
562 data.symcursor = createElement('circle') 562 data.symcursor = createElement('circle')
563 svg.insertBefore(data.symcursor, data.cursor) 563 svg.appendChild(data.symcursor)
564 if (data.puzzle.settings.INVISIBLE_SYMMETRY) { 564 if (data.puzzle.settings.INVISIBLE_SYMMETRY) {
565 data.symcursor.setAttribute('class', 'line-4 ' + data.svg.id) 565 data.symcursor.setAttribute('class', 'line-4 ' + data.svg.id)
566 } else { 566 } else {