mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-27 02:37:42 +00:00
chore(web): minor simplification
This commit is contained in:
parent
d7cdd481ba
commit
75527ec738
1 changed files with 1 additions and 3 deletions
|
|
@ -254,9 +254,7 @@ export function gestureSetForLayout(flags: LayoutGestureSupportFlags, params: Ge
|
|||
// `deepCopy` does not preserve property definitions, instead raw-copying its value.
|
||||
// We need to re-instate the longpress delay property here.
|
||||
Object.defineProperty(_longpressModel.contacts[0].model.timer, 'duration', {
|
||||
get: () => {
|
||||
return params.longpress.waitLength
|
||||
}
|
||||
get: () => params.longpress.waitLength
|
||||
});
|
||||
|
||||
// #region Functions for implementing and/or extending path initial-state checks
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue