Skip to content

Commit

Permalink
0.17.1-obsidian-55 2.5.1-beta-2
Browse files Browse the repository at this point in the history
  • Loading branch information
zsviczian committed Sep 22, 2024
1 parent 9f6d735 commit 5ca0eb0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/excalidraw/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9684,6 +9684,8 @@ class App extends React.Component<AppProps, AppState> {
dataURL,
created: Date.now(),
lastRetrieved: Date.now(),
//@ts-ignore
name: imageFile?.name, // zsviczian
},
};
const cachedImageData = this.imageCache.get(fileId);
Expand Down
2 changes: 1 addition & 1 deletion packages/excalidraw/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export const MAX_DECIMALS_FOR_SVG_EXPORT = 2;
export const EXPORT_SCALES = [1, 2, 3];
export const DEFAULT_EXPORT_PADDING = 10; // px

export const DEFAULT_MAX_IMAGE_WIDTH_OR_HEIGHT = 1440;
export const DEFAULT_MAX_IMAGE_WIDTH_OR_HEIGHT = 2880; //zsviczian was 1440

export const MAX_ALLOWED_FILE_BYTES = 20 * 1024 * 1024;

Expand Down
2 changes: 1 addition & 1 deletion packages/excalidraw/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zsviczian/excalidraw",
"version": "0.17.1-obsidian-54",
"version": "0.17.1-obsidian-55",
"main": "main.js",
"types": "types/excalidraw/index.d.ts",
"files": [
Expand Down

0 comments on commit 5ca0eb0

Please sign in to comment.