forked from MapComplete/MapComplete
Add presets to custom theme generator, fix simpleAddUI
This commit is contained in:
parent
9a420efa98
commit
3d05999f85
10 changed files with 90 additions and 36 deletions
|
@ -44,7 +44,7 @@ export default class AllLayersPanel extends UIElement {
|
|||
"<h2>Layer editor</h2>",
|
||||
"In this tab page, you can add and edit the layers of the theme. Click the layers above or add a new layer to get started.",
|
||||
new SubtleButton(
|
||||
"./assets/add.svg",
|
||||
"./assets/layersAdd.svg",
|
||||
"Add a new layer"
|
||||
).onClick(() => {
|
||||
self._config.data.layers.push(GenerateEmpty.createEmptyLayer())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue