胡斌

for Nenuba pen,use the original pressure value from the Nenula pen driver

正在显示 1 个修改的文件 包含 2 行增加2 行删除
... ... @@ -376,13 +376,13 @@
x = px * ratio_x;
y = py * ratio_y;
if(last_ext_press == 0 && press == 1){
if(last_ext_press == 0 && press != 0){
ctx.beginPath();
ctx.moveTo(x, y);
last_ext_press = 1;
}
else if(press == 1) {
else if(press != 0) {
ctx.lineTo(x, y);
ctx.stroke();
}
... ...