Skip to content

Commit

Permalink
`
Browse files Browse the repository at this point in the history
  • Loading branch information
fc01 authored and fc01 committed Aug 7, 2017
1 parent 84f79b6 commit 7e06177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 2k.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/src.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ ontouchend = (v, n, y, A) => {
xxx = (v, n, y, A) => {
onkeydown({ keyCode: v });
开始X = NaN;
开始Y = NaN;
};

ontouchmove = (v, n, y, A) => {
Expand All @@ -93,7 +94,7 @@ ontouchmove = (v, n, y, A) => {
y = n.pageY;
if (x - 开始X < -50) xxx(65);
if (x - 开始X > 50) xxx(68);
if (y - 开始Y < -100) { 开始X = NaN; 倒流 = !倒流; }
if (y - 开始Y < -100) { 开始X = NaN; 开始Y = NaN; 倒流 = !倒流; }
if (y - 开始Y > 50) xxx(83);
};

Expand Down

0 comments on commit 7e06177

Please sign in to comment.