mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-27 02:37:42 +00:00
fix(web): adds null-guard for longpress-key validation
This commit is contained in:
parent
a5d98f986f
commit
52cb29bcfb
1 changed files with 1 additions and 1 deletions
|
|
@ -442,7 +442,7 @@ export function longpressContactModel(params: GestureParams, enabledFlicks: bool
|
|||
timer: {
|
||||
duration: spec.waitLength,
|
||||
expectedResult: true,
|
||||
validateItem: (key: KeyElement) => !!key.key.spec.sk
|
||||
validateItem: (key: KeyElement) => !!key?.key.spec.sk
|
||||
},
|
||||
pathModel: {
|
||||
evaluate: (path) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue