feat(annotations): resize and move annotations in document view #235

Merged
marcel merged 25 commits from feat/issue-233-annotation-resize-move into main 2026-04-14 14:55:28 +02:00
Showing only changes of commit 7125a0a8eb - Show all commits

View File

@@ -219,9 +219,12 @@ function handleKeyDown(event: KeyboardEvent): void {
width: liveWidth, width: liveWidth,
height: liveHeight height: liveHeight
}); });
} catch { } catch (err) {
console.error('annotation keyboard update failed', err);
liveX = annotation.x; liveX = annotation.x;
liveY = annotation.y; liveY = annotation.y;
liveWidth = annotation.width;
liveHeight = annotation.height;
} }
}, 300); }, 300);
} }