胡斌

format code

正在显示 1 个修改的文件 包含 14 行增加14 行删除
@@ -719,20 +719,20 @@ @@ -719,20 +719,20 @@
719 719
720 } 720 }
721 721
722 - function on_pen_point(x,y,nPress){  
723 -  
724 - if (rotate_degree == 0) {  
725 - draw_ext_input(x, y, nPress);  
726 - }  
727 - else if (rotate_degree == 90) {  
728 - draw_ext_input(y, ext_input_panel_width - x, nPress);  
729 - }  
730 - else if (rotate_degree == 180) {  
731 - draw_ext_input(ext_input_panel_width - x, ext_input_panel_height - y, nPress);  
732 - }  
733 - else {  
734 - draw_ext_input(ext_input_panel_height - y, x, nPress);  
735 - } 722 + function on_pen_point(x, y, nPress) {
  723 +
  724 + if (rotate_degree == 0) {
  725 + draw_ext_input(x, y, nPress);
  726 + }
  727 + else if (rotate_degree == 90) {
  728 + draw_ext_input(y, ext_input_panel_width - x, nPress);
  729 + }
  730 + else if (rotate_degree == 180) {
  731 + draw_ext_input(ext_input_panel_width - x, ext_input_panel_height - y, nPress);
  732 + }
  733 + else {
  734 + draw_ext_input(ext_input_panel_height - y, x, nPress);
  735 + }
736 } 736 }
737 737
738 738