fix(annotations): add catch(err) binding to handlePointerUp error handler [M6]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -190,7 +190,8 @@ async function handlePointerUp(event: PointerEvent): Promise<void> {
|
|||||||
width: liveWidth,
|
width: liveWidth,
|
||||||
height: liveHeight
|
height: liveHeight
|
||||||
});
|
});
|
||||||
} catch {
|
} catch (err) {
|
||||||
|
console.error('annotation drag update failed', err);
|
||||||
liveX = ds.preDragX;
|
liveX = ds.preDragX;
|
||||||
liveY = ds.preDragY;
|
liveY = ds.preDragY;
|
||||||
liveWidth = ds.preDragWidth;
|
liveWidth = ds.preDragWidth;
|
||||||
|
|||||||
Reference in New Issue
Block a user