Fix slider custom cursor

This commit is contained in:
Paul Nicoué 2022-11-25 16:51:01 +01:00
parent 840e48fd73
commit 933b70e026
2 changed files with 3 additions and 3 deletions

View file

@ -124,7 +124,7 @@ function editColorTheme(slide) {
cursorColor = 'dark';
}
if (body && cursorOrientation && cursorColor) {
body.style.cursor = `url('/icons/cursor-${cursorOrientation}-${cursorColor}.svg') 0 16, auto`;
body.style.cursor = `url('/images/cursor-${cursorOrientation}-${cursorColor}.svg') 0 16, auto`;
}
}
}
@ -154,7 +154,7 @@ function setCursorOnMove() {
cursorOrientation = 'previous';
}
if (cursorOrientation && cursorColor) {
body.style.cursor = `url('/icons/cursor-${cursorOrientation}-${cursorColor}.svg') 0 16, auto`;
body.style.cursor = `url('/images/cursor-${cursorOrientation}-${cursorColor}.svg') 0 16, auto`;
}
});
}

File diff suppressed because one or more lines are too long