(machineId: string)
| 135 | }; |
| 136 | |
| 137 | export const getDeviceSize = (machineId: string) => { |
| 138 | return iPhoneDevicesSizes[machineId] || { dpr: 3, viewportWidth: 430, viewportHeight: 932 }; |
| 139 | }; |
| 140 | |
| 141 | const iPhoneDevicesSizes: { [key: string]: any } = { |
| 142 | "iPhone8,4": { dpr: 2, viewportWidth: 320, viewportHeight: 568 }, // iPhone SE (1st Gen) |