mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): do not delete point on right-mouse click
This commit is contained in:
@@ -293,6 +293,9 @@ export class CanvasSegmentAnythingModule extends CanvasModuleBase {
|
||||
if (this.$isDraggingPoint.get()) {
|
||||
return;
|
||||
}
|
||||
if (e.evt.button !== 0) {
|
||||
return;
|
||||
}
|
||||
// This event should not bubble up to the parent, stage or any other nodes
|
||||
e.cancelBubble = true;
|
||||
circle.destroy();
|
||||
|
||||
Reference in New Issue
Block a user