mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
work on image and video backgrounds! Not laggy anymore with large files
This commit is contained in:
+1
-6
@@ -132,12 +132,7 @@ function HandleIntexedDB(request, sendResponse) {
|
||||
|
||||
case "read":
|
||||
readData().then((data) => {
|
||||
const reader = new FileReader();
|
||||
reader.onload = () => {
|
||||
const arrayBuffer = reader.result;
|
||||
sendResponse({ data: arrayBuffer, type: data.type });
|
||||
};
|
||||
reader.readAsArrayBuffer(data.data);
|
||||
sendResponse(data);
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user