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,8 +1651,14 @@ System.register([], function (exports) {
return _wrapRegExp.apply(this, arguments);
}
var gridIcon = "grid-icon.xml";
/**
* @file ext-grid.js
*
* @license Apache-2.0
*
* @copyright 2010 Redou Mine, 2010 Alexis Deveria
*
*/
var extGrid = exports('default', {
name: 'grid',
init: function init(_ref) {
@@ -1787,7 +1793,7 @@ System.register([], function (exports) {
buttons = [{
id: 'view_grid',
icon: svgEditor.curConfig.extIconsPath + 'grid.png',
icon: 'grid.png',
type: 'context',
panel: 'editor_panel',
events: {
@@ -1799,7 +1805,7 @@ System.register([], function (exports) {
}];
return _context.abrupt("return", {
name: strings.name,
svgicons: svgEditor.curConfig.extIconsPath + 'grid-icon.xml',
svgicons: 'grid-icon.xml',
zoomChanged: function zoomChanged(zoom) {
if (showGrid) {
updateGrid(zoom);