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. --- src/css/dumbymap.css | 1 - 1 file changed, 1 deletion(-) (limited to 'src/css') diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index b9af75b..a2db479 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css @@ -120,7 +120,6 @@ border: 3px solid transparent; background: white; - animation: map-fade-in 1s; &[data-focus="true"] { border: 3px solid gray; -- cgit v1.2.3-70-g09d2