Move field rendering code from preset_editor to field.js

This commit is contained in:
Bryan Housel
2017-08-03 01:10:59 -04:00
parent f6e76665a0
commit 1bf514b7fc
5 changed files with 132 additions and 126 deletions
+2 -2
View File
@@ -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)