fix editor start with src and dist using es-dev-server
This commit is contained in:
14
dist/editor/system/extensions/ext-grid.js
vendored
14
dist/editor/system/extensions/ext-grid.js
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user