mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-11-07 02:52:20 +01:00
#535 - fix when no image is selected
This commit is contained in:
1 parent
4b37c4c9a4
commit
7bd77e436d
1 file changed
+1
-1
@@ -51,7 +51,7 @@ export const ViewPanel: React.FunctionComponent<IViewPanelProps> = (
|
||||
window.scrollTo({
|
||||
top: scrollY,
|
||||
})
|
||||
}, 0);
|
||||
}, 10);
|
||||
}
|
||||
}, [mediaSelecting, prevMediaSelection]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user