From ed9ae7c50436f4eab6bae4697eab5a070114d1d9 Mon Sep 17 00:00:00 2001 From: Johannes Kepper Date: Thu, 7 Dec 2023 15:58:23 +0100 Subject: [PATCH] do _not_ focus active writing zone in facsimile --- src/components/FacsimileComponent.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/FacsimileComponent.vue b/src/components/FacsimileComponent.vue index 90c19a1..c8695d9 100644 --- a/src/components/FacsimileComponent.vue +++ b/src/components/FacsimileComponent.vue @@ -737,7 +737,8 @@ export default { const image = this.viewer.world.getItemAt(0) const pos = image.imageToViewportRectangle(parseInt(xywh[0]), parseInt(xywh[1]), parseInt(xywh[2]), parseInt(xywh[3])) - this.viewer.viewport.fitBoundsWithConstraints(pos) + console.log('FacsimileComponent.vue: skipping focusActiveWritingZone()', pos) + // this.viewer.viewport.fitBoundsWithConstraints(pos) }, unload () {