Update electron to 13.1.2
This commit is contained in:
parent
6e88c6aee1
commit
df0aadc8a4
5 changed files with 19 additions and 9 deletions
|
@ -39,7 +39,11 @@ export function getAnimatedPngDataIfExists(
|
|||
|
||||
let numPlays: void | number;
|
||||
|
||||
const dataView = new DataView(bytes.buffer);
|
||||
const dataView = new DataView(
|
||||
bytes.buffer,
|
||||
bytes.byteOffset,
|
||||
bytes.byteLength
|
||||
);
|
||||
|
||||
let i = PNG_SIGNATURE.length;
|
||||
while (i < bytes.byteLength && i <= MAX_BYTES_TO_READ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue