This commit is contained in:
thororen1234 2024-10-14 19:33:17 -04:00
parent 75fac79ad1
commit deceb2ba97
13 changed files with 186 additions and 58 deletions

View file

@ -25,7 +25,7 @@ const mimeTypes = {
mov: "video/quicktime",
};
const formatDimension = (value) => value % 1 === 0 ? value : value.toFixed(2);
const formatDimension = value => value % 1 === 0 ? value : value.toFixed(2);
function getMimeType(extension: string | undefined): [boolean, string] {
if (!extension) return [false, ""];
@ -389,7 +389,7 @@ export default definePlugin({
start() {
let timeout: number | undefined;
let previewDiv: HTMLDivElement | null = null;
const previewDiv: HTMLDivElement | null = null;
function initialScan() {
const appContainer = document.querySelector('[class*="app-"]');