胡斌

format code

正在显示 1 个修改的文件 包含 14 行增加14 行删除
... ... @@ -719,20 +719,20 @@
}
function on_pen_point(x,y,nPress){
if (rotate_degree == 0) {
draw_ext_input(x, y, nPress);
}
else if (rotate_degree == 90) {
draw_ext_input(y, ext_input_panel_width - x, nPress);
}
else if (rotate_degree == 180) {
draw_ext_input(ext_input_panel_width - x, ext_input_panel_height - y, nPress);
}
else {
draw_ext_input(ext_input_panel_height - y, x, nPress);
}
function on_pen_point(x, y, nPress) {
if (rotate_degree == 0) {
draw_ext_input(x, y, nPress);
}
else if (rotate_degree == 90) {
draw_ext_input(y, ext_input_panel_width - x, nPress);
}
else if (rotate_degree == 180) {
draw_ext_input(ext_input_panel_width - x, ext_input_panel_height - y, nPress);
}
else {
draw_ext_input(ext_input_panel_height - y, x, nPress);
}
}
... ...