Add respecting OS setting for natural scroll direction

This commit is contained in:
Jonathan Tran
2024-09-20 20:19:18 -04:00
parent 4da6298e2a
commit 24c2fe996f
6 changed files with 65 additions and 6 deletions

1
interface.d.ts vendored
View File

@ -69,6 +69,7 @@ export interface IElectronAPI {
kittycad: (access: string, args: any) => any
listMachines: () => Promise<MachinesListing>
getMachineApiIp: () => Promise<string | null>
readNaturalScrollDirection: () => Promise<boolean>
onUpdateDownloaded: (
callback: (value: string) => void
) => Electron.IpcRenderer