fix(tracker): 12 0 1, changelogs and canvas fix
This commit is contained in:
parent
4165823e91
commit
e0dfa21306
1 changed files with 1 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ function captureSnapshot(canvas: HTMLCanvasElement, quality: 'low' | 'medium' |
|
|||
|
||||
function dataUrlToBlob(dataUrl: string): [Blob, Uint8Array] | null {
|
||||
const [header, base64] = dataUrl.split(',')
|
||||
if (!header || !base64) return null
|
||||
const encParts = header.match(/:(.*?);/)
|
||||
if (!encParts) return null
|
||||
const mime = encParts[1]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue