diff options
author | Allan Wang <me@allanwang.ca> | 2020-11-07 21:16:07 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 21:16:07 -0800 |
commit | a6add7ed6b6a58971c5a439b81d6527d3ee196b9 (patch) | |
tree | 6de6bbd1da40fad926a15c12958e5ec808ec2367 /app/src/web/ts/context_a.ts | |
parent | 8cac4ce54358f23a30a762bbb960309914507bb8 (diff) | |
parent | be1132c6df6ca1a664bc557dd02094b36195cc76 (diff) | |
download | frost-a6add7ed6b6a58971c5a439b81d6527d3ee196b9.tar.gz frost-a6add7ed6b6a58971c5a439b81d6527d3ee196b9.tar.bz2 frost-a6add7ed6b6a58971c5a439b81d6527d3ee196b9.zip |
Merge pull request #1729 from AllanWang/feature-scrolling-aware
Diffstat (limited to 'app/src/web/ts/context_a.ts')
-rw-r--r-- | app/src/web/ts/context_a.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/web/ts/context_a.ts b/app/src/web/ts/context_a.ts index 9faa1e94..ad81279e 100644 --- a/app/src/web/ts/context_a.ts +++ b/app/src/web/ts/context_a.ts @@ -110,6 +110,14 @@ Frost.longClick(true); longClick = true; + /** + * Don't handle context events while scrolling + */ + if (Frost.isScrolling()) { + console.log("Skip from scrolling"); + return; + } + /* * Commonality; check for valid target */ |