Compare commits

..

1 Commits
2.1.2 ... 2.1.3

Author SHA1 Message Date
zsviczian
9a27e38ce2 2.1.3 2024-04-06 15:52:34 +02:00
3 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "obsidian-excalidraw-plugin",
"name": "Excalidraw",
"version": "2.1.2",
"version": "2.1.3",
"minAppVersion": "1.1.6",
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
"author": "Zsolt Viczian",

View File

@@ -17,6 +17,9 @@ I develop this plugin as a hobby, spending my free time doing this. If you find
<div class="ex-coffee-div"><a href="https://ko-fi.com/zsolt"><img src="https://cdn.ko-fi.com/cdn/kofi3.png?v=3" height=45></a></div>
`,
"2.1.3":`
This is a republish of 2.1.2 with a minor change. Sorry about the frequent releases. I will hold back for a few weeks now.
`,
"2.1.2":`
## Quality of Life Improvements
- The "Insert Any File" option that disappeared from the Command Palette is now restored. [#1690](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/1690)

View File

@@ -440,7 +440,7 @@ export const scaleLoadedImage = (
if (!files || !scene) {
return { dirty, scene };
}
for (const f of files.filter((f:TFile)=>!EXCALIDRAW_PLUGIN?.isExcalidrawFile(f))) {
for (const f of files.filter((f:TFile)=>EXCALIDRAW_PLUGIN?.isExcalidrawFile(f))) {
const [w_image, h_image] = [f.size.width, f.size.height];
const imageAspectRatio = f.size.width / f.size.height;
scene.elements