From 9b3af498b0b4ad4fa402927d545b0dfc001771d0 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 24 Sep 2024 00:21:24 +0800 Subject: feat: add mapCache for rendered map * apply new config option: "render", just pass function to replace "use" * check configList when render. If ID and config content are the same, use cache otherwise * remove CSS animation to prevent blinking when config changes very quick * fix method about checking showcase is visible. This prevent reused map gain focus. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 63644ba..8ef7b2e 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "dependencies": { "easymde": "^2.18.0", "leader-line": "^1.0.7", - "mapclay": "^0.6.7", + "mapclay": "^0.7.0", "markdown-it": "^14.1.0", "markdown-it-anchor": "^9.2.0", "markdown-it-footnote": "^4.0.0", -- cgit v1.2.3-70-g09d2