Commit 9dcd0ca5 by doszhang

dos

parent a419fa2a
...@@ -569,7 +569,7 @@ function changeMainColor(event) { ...@@ -569,7 +569,7 @@ function changeMainColor(event) {
function chooseColorStart(e) { function chooseColorStart(e) {
const touch = e.originalEvent.targetTouches[0]; const touch = e.originalEvent.targetTouches[0];
const startX = (touch.pageX - colorbarLeft * 2) / fontSize; const startX = (touch.pageX - colorbarLeft) / fontSize;
setBgColor(startX); setBgColor(startX);
$('.btn-choose-color').removeClass('animate'); $('.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