#386 Polyline/path canceled by a right-click crashes the app state
parent
feb6210c88
commit
2bff2a3b80
|
@ -966,6 +966,9 @@ export const mouseDownEvent = function (evt) {
|
|||
evt.preventDefault();
|
||||
|
||||
if (rightClick) {
|
||||
if(eventContext_.getCurrentMode() === 'path'){
|
||||
return;
|
||||
}
|
||||
eventContext_.setCurrentMode('select');
|
||||
eventContext_.setLastClickPoint(pt);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue