feat(annotations): resize and move annotations in document view #235
@@ -219,9 +219,12 @@ function handleKeyDown(event: KeyboardEvent): void {
|
||||
width: liveWidth,
|
||||
height: liveHeight
|
||||
});
|
||||
} catch {
|
||||
} catch (err) {
|
||||
console.error('annotation keyboard update failed', err);
|
||||
liveX = annotation.x;
|
||||
liveY = annotation.y;
|
||||
liveWidth = annotation.width;
|
||||
liveHeight = annotation.height;
|
||||
}
|
||||
}, 300);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user