mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
1.7.15
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-excalidraw-plugin",
|
||||
"name": "Excalidraw",
|
||||
"version": "1.7.14",
|
||||
"version": "1.7.15",
|
||||
"minAppVersion": "0.15.6",
|
||||
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
|
||||
"author": "Zsolt Viczian",
|
||||
|
||||
@@ -3240,6 +3240,7 @@ export default class ExcalidrawView extends TextFileView {
|
||||
|
||||
const observer = React.useRef(
|
||||
new ResizeObserver((entries) => {
|
||||
if(!toolsPanelRef || !toolsPanelRef.current) return;
|
||||
const { width, height } = entries[0].contentRect;
|
||||
const dx = toolsPanelRef.current.onRightEdge
|
||||
? toolsPanelRef.current.previousWidth - width
|
||||
@@ -3251,7 +3252,7 @@ export default class ExcalidrawView extends TextFileView {
|
||||
}),
|
||||
);
|
||||
React.useEffect(() => {
|
||||
if (toolsPanelRef.current) {
|
||||
if (toolsPanelRef?.current) {
|
||||
observer.current.observe(toolsPanelRef.current.containerRef.current);
|
||||
}
|
||||
return () => {
|
||||
|
||||
@@ -17,6 +17,10 @@ I develop this plugin as a hobby, spending most of my free time doing this. If y
|
||||
|
||||
<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>
|
||||
`,
|
||||
"1.7.15":`
|
||||
# Fixed
|
||||
- Canvas turns white when adding point for curved line [#760](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/760), [#738](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/738), [#5602](https://github.com/excalidraw/excalidraw/issues/5602)
|
||||
`,
|
||||
"1.7.14": `
|
||||
<div class="excalidraw-videoWrapper"><div>
|
||||
<iframe src="https://www.youtube.com/embed/yZQoJg2RCKI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
|
||||
Reference in New Issue
Block a user