Skip to content

Commit

Permalink
chore(web): minor simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
jahorton committed Aug 14, 2024
1 parent d7cdd48 commit 75527ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/src/engine/osk/src/input/gestures/specsForLayout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75527ec

Please sign in to comment.