Update ext-shapes.js
This commit is contained in:
@@ -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);
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user