mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Move field rendering code from preset_editor to field.js
This commit is contained in:
@@ -88,7 +88,7 @@ export function uiEntityEditor(context) {
|
||||
|
||||
enter
|
||||
.append('div')
|
||||
.attr('class', 'inspector-border inspector-preset');
|
||||
.attr('class', 'inspector-border preset-editor');
|
||||
|
||||
enter
|
||||
.append('div')
|
||||
@@ -129,7 +129,7 @@ export function uiEntityEditor(context) {
|
||||
body.select('.preset-list-item .label')
|
||||
.text(activePreset.name());
|
||||
|
||||
body.select('.inspector-preset')
|
||||
body.select('.preset-editor')
|
||||
.call(presetEditor
|
||||
.preset(activePreset)
|
||||
.entityID(id)
|
||||
|
||||
Reference in New Issue
Block a user