Merge branch 'next' into perf-tests
This commit is contained in:
commit
ae45491cc4
2 changed files with 9 additions and 7 deletions
12
.github/workflows/benchmark.yml
vendored
12
.github/workflows/benchmark.yml
vendored
|
|
@ -8,11 +8,13 @@ on:
|
|||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
# if: >-
|
||||
# github.event.issue.pull_request != '' &&
|
||||
# (
|
||||
# contains(github.event.comment.body, '/benchmark')
|
||||
# )
|
||||
if: >-
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/perf-test') ||
|
||||
(
|
||||
github.event_name == 'issue_comment' &&
|
||||
github.event.issue.pull_request != '' &&
|
||||
contains(github.event.comment.body, '/benchmark')
|
||||
)
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -850,8 +850,8 @@ document.body.addEventListener('touchend', (e) => {
|
|||
activeTouch = undefined
|
||||
})
|
||||
document.body.addEventListener('touchstart', (e) => {
|
||||
const ignoreElem = (e.target as HTMLElement).matches('vercel-live-feedback') || (e.target as HTMLElement).closest('.hotbar')
|
||||
if (!isGameActive(true) || ignoreElem) return
|
||||
const targetElement = (e.target as HTMLElement).closest('#ui-root')
|
||||
if (!isGameActive(true) || !targetElement) return
|
||||
// we always prevent default behavior to disable magnifier on ios, but by doing so we also disable click events
|
||||
e.preventDefault()
|
||||
let firstClickable // todo remove composedPath and this workaround when lit-element is fully dropped
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue