Update ext-shapes.js
parent
3b771fa891
commit
897a172da8
|
@ -155,9 +155,7 @@ export default {
|
||||||
}
|
}
|
||||||
const buttons = [{
|
const buttons = [{
|
||||||
id: 'tool_shapelib_show',
|
id: 'tool_shapelib_show',
|
||||||
icon: 'shapes.png',
|
|
||||||
type: 'mode_flyout',
|
type: 'mode_flyout',
|
||||||
position: 6,
|
|
||||||
events: {
|
events: {
|
||||||
click () {
|
click () {
|
||||||
canv.setMode(modeId);
|
canv.setMode(modeId);
|
||||||
|
@ -167,7 +165,6 @@ export default {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
newUI: true,
|
newUI: true,
|
||||||
svgicons: 'ext-shapes.xml',
|
|
||||||
buttons: strings.buttons.map((button, i) => {
|
buttons: strings.buttons.map((button, i) => {
|
||||||
return Object.assign(buttons[i], button);
|
return Object.assign(buttons[i], button);
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue