chore: remove deprecated scroll-touch-{begin,end,edge} events (#39814)

* chore: remove deprecated `scroll-touch-{begin,end,edge}` events

* update spec/ts-smoke

---------

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
Milan Burda 2023-09-20 23:41:29 +02:00 committed by GitHub
parent 58fd8825d2
commit c9eb3deab5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 53 deletions

View file

@ -1284,6 +1284,13 @@ win4.loadURL('http://github.com');
// @ts-expect-error Removed API
win4.webContents.getPrinters();
// @ts-expect-error Removed API
win4.webContents.on('scroll-touch-begin', () => {});
// @ts-expect-error Removed API
win4.webContents.on('scroll-touch-edge', () => {});
// @ts-expect-error Removed API
win4.webContents.on('scroll-touch-end', () => {});
// TouchBar
// https://github.com/electron/electron/blob/main/docs/api/touch-bar.md