parent
314904b1f4
commit
2bdaab1d86
|
@ -757,6 +757,7 @@ export const pathActionsMethod = (function () {
|
||||||
path = pathActionsContext_.getPath_(element);
|
path = pathActionsContext_.getPath_(element);
|
||||||
editorContext_.setCurrentMode('pathedit');
|
editorContext_.setCurrentMode('pathedit');
|
||||||
editorContext_.clearSelection();
|
editorContext_.clearSelection();
|
||||||
|
path.setPathContext();
|
||||||
path.show(true).update();
|
path.show(true).update();
|
||||||
path.oldbbox = utilsGetBBox(path.elem);
|
path.oldbbox = utilsGetBBox(path.elem);
|
||||||
subpath = false;
|
subpath = false;
|
||||||
|
@ -770,6 +771,7 @@ export const pathActionsMethod = (function () {
|
||||||
editorContext_ = pathActionsContext_.getEditorContext();
|
editorContext_ = pathActionsContext_.getEditorContext();
|
||||||
const selPath = (elem === path.elem);
|
const selPath = (elem === path.elem);
|
||||||
editorContext_.setCurrentMode('select');
|
editorContext_.setCurrentMode('select');
|
||||||
|
path.setPathContext();
|
||||||
path.show(false);
|
path.show(false);
|
||||||
currentPath = false;
|
currentPath = false;
|
||||||
editorContext_.clearSelection();
|
editorContext_.clearSelection();
|
||||||
|
|
Loading…
Reference in New Issue