From 2c9ffa25df5913953553e70426f19cf47832bb45 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 13 Oct 2024 21:30:43 +0800 Subject: feat: migrate drag feature to dumbymap --- src/css/dumbymap.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/css') diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index 7ddb21a..1eb607b 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css @@ -764,6 +764,16 @@ root { .dumby-block > :not(:has(.mapclay[data-render="fulfilled"])) { opacity: 0.3; } + + * { + cursor: not-allowed !important; + } + + .mapclay[data-render="fulfilled"] { + &, & canvas { + cursor: crosshair !important; + } + } } .Dumby[data-layout='sticky'] { -- cgit v1.2.3-70-g09d2