Skip to content

Commit 207412e

Browse files
committed
oops
1 parent d7290b4 commit 207412e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webviews/extension-side/plotView/plotViewHandler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function getPngDimensions(buffer: Uint8Array): { width: number; height: n
7979
}
8080
// The dimensions of a PNG are the first 8 bytes (width then height) of the IHDR chunk. The
8181
// IHDR chunk starts at offset 8.
82-
const view = new DataView(buffer.buffer)
82+
const view = new DataView(buffer.buffer);
8383
return {
8484
width: view.getUint32(16, false),
8585
height: view.getUint32(20, false)

0 commit comments

Comments
 (0)