This commit is contained in:
JFH
2021-04-20 05:52:17 +02:00
parent d58ae7881e
commit 8af2882bce
8 changed files with 333 additions and 127 deletions

View File

@@ -34,6 +34,7 @@ import TopPanel from './panels/TopPanel.js';
import BottomPanel from './panels/BottomPanel.js';
import LayersPanel from './panels/LayersPanel.js';
import MainMenu from './MainMenu.js';
import {getParentsUntil} from './components/jgraduate/Util.js';
const {$id, $qa, isNullish, encode64, decode64, blankPageObjectURL} = SvgCanvas;

View File

@@ -175,7 +175,7 @@ export const addPointGripMethod = function (index, x, y) {
pointGripContainer.append(pointGrip);
const grip = document.getElementById('pathpointgrip_' + index);
grip.addEventListener("dblclick", (e) => {
grip?.addEventListener("dblclick", (e) => {
const path = pathMethodsContext_.getPathObj();
if (path) {
path.setSegType();