feat(annotations): resize and move annotations in document view #235
@@ -190,7 +190,8 @@ async function handlePointerUp(event: PointerEvent): Promise<void> {
|
||||
width: liveWidth,
|
||||
height: liveHeight
|
||||
});
|
||||
} catch {
|
||||
} catch (err) {
|
||||
console.error('annotation drag update failed', err);
|
||||
liveX = ds.preDragX;
|
||||
liveY = ds.preDragY;
|
||||
liveWidth = ds.preDragWidth;
|
||||
|
||||
Reference in New Issue
Block a user