diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-24 00:21:24 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-24 00:40:50 +0800 |
commit | 9b3af498b0b4ad4fa402927d545b0dfc001771d0 (patch) | |
tree | 6ce223d09569be85790b119236d528d6ac80d5d0 /src/css/dumbymap.css | |
parent | 6500301ce49107886315dd47d1f710ef1a3dc41d (diff) |
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.
Diffstat (limited to 'src/css/dumbymap.css')
-rw-r--r-- | src/css/dumbymap.css | 1 |
1 files changed, 0 insertions, 1 deletions
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 @@ | |||
120 | border: 3px solid transparent; | 120 | border: 3px solid transparent; |
121 | 121 | ||
122 | background: white; | 122 | background: white; |
123 | animation: map-fade-in 1s; | ||
124 | 123 | ||
125 | &[data-focus="true"] { | 124 | &[data-focus="true"] { |
126 | border: 3px solid gray; | 125 | border: 3px solid gray; |