Commit 73fd9206 by doszhang

dos

parent e1528165
......@@ -142,6 +142,10 @@ function chooseColorMove(e) {
} else if (left > 26.62) {
left = 26.62;
}
let index = 0;
index = Math.floor((left - 4.2916) / (87 / fontSize));
console.log(index);
$('.personal-page .btn-choose-color').css('left', left + 'rem');
startX = moveX;
}, 5);
......
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