relax upper hires preview bound

This commit is contained in:
Will Scullin 2022-07-23 16:04:20 -07:00
parent bf789eb2fd
commit c7e9598cc5
No known key found for this signature in database
GPG Key ID: 26DCD1042C6638CD

View File

@ -18,7 +18,7 @@ export interface FileViewerProps {
const HiresPreview = ({ binary }: { binary: Uint8Array }) => {
const canvasRef = useRef<HTMLCanvasElement>(null);
if (binary.byteLength < 8187 || binary.byteLength > 8192) {
if (binary.byteLength < 8187 || binary.byteLength > 8197) {
return null;
}