fix: image fragment viewing
This commit is contained in:
parent
0f2acbadf6
commit
d254a8c329
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue