fix editor start with src and dist using es-dev-server

This commit is contained in:
jfh
2020-09-01 00:15:18 +02:00
parent 0bfee46b33
commit 4643bab371
345 changed files with 29074 additions and 26260 deletions

View File

@@ -1651,9 +1651,19 @@ System.register([], function (exports) {
return _wrapRegExp.apply(this, arguments);
}
var extPanning = "ext-panning.xml";
/**
* @file ext-panning.js
*
* @license MIT
*
* @copyright 2013 Luis Aguirre
*
*/
var extPanning$1 = exports('default', {
/*
This is a very basic SVG-Edit extension to let tablet/mobile devices pan without problem
*/
var extPanning = exports('default', {
name: 'panning',
init: function init(_ref) {
var _this = this;
@@ -1674,7 +1684,7 @@ System.register([], function (exports) {
svgCanvas = svgEditor.canvas;
buttons = [{
id: 'ext-panning',
icon: svgEditor.curConfig.extIconsPath + 'panning.png',
icon: 'panning.png',
type: 'mode',
events: {
click: function click() {
@@ -1684,7 +1694,7 @@ System.register([], function (exports) {
}];
return _context.abrupt("return", {
name: strings.name,
svgicons: svgEditor.curConfig.extIconsPath + 'ext-panning.xml',
svgicons: 'ext-panning.xml',
buttons: strings.buttons.map(function (button, i) {
return Object.assign(buttons[i], button);
}),