fix: image fragment viewing

feat/type-attributes
Tomáš Mládek 2023-05-03 21:13:51 +02:00
parent 0f2acbadf6
commit d254a8c329
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@
$: objectAddress = String($entity?.get("ANNOTATES") || ""); $: objectAddress = String($entity?.get("ANNOTATES") || "");
$: imageFragment = ["x=", "y=", "w=", "h="].every((q) => $: imageFragment = String($entity?.get("W3C_FRAGMENT_SELECTOR")).includes(
String($entity?.get("W3C_FRAGMENT_SELECTOR")).includes(q) "xywh="
); );
let imageLoaded = false; let imageLoaded = false;