Commit f212a8f0 by doszhang

dos

parent c55bc4e1
......@@ -697,6 +697,8 @@ function changeMainColor(event) {
function chooseColorStart(e) {
const touch = e.originalEvent.targetTouches[0];
const startX = (touch.pageX - colorbarLeft) / fontSize;
console.log(startX);
setBgColor(startX);
$('.btn-choose-color').removeClass('animate');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment