mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
Update preset name
This commit is contained in:
@@ -46,15 +46,14 @@ iD.ui.EntityEditor = function(context) {
|
||||
|
||||
var headerbutton = $enter.append('div')
|
||||
.attr('class', 'preset-icon-wrap inspector-inner fillL')
|
||||
.append('button')
|
||||
.attr('class', 'preset-list-button preset-reset')
|
||||
.append('div')
|
||||
.attr('class', 'label')
|
||||
.text(preset.name())
|
||||
.append('button')
|
||||
.attr('class', 'preset-list-button preset-reset')
|
||||
.append('div')
|
||||
.attr('class', 'label');
|
||||
|
||||
headerbutton.call(bootstrap.tooltip()
|
||||
.title(t('inspector.back_tooltip'))
|
||||
.placement('bottom'));
|
||||
headerbutton.call(bootstrap.tooltip()
|
||||
.title(t('inspector.back_tooltip'))
|
||||
.placement('bottom'));
|
||||
|
||||
$enter.append('div')
|
||||
.attr('class', 'inspector-border inspector-preset');
|
||||
@@ -80,6 +79,9 @@ iD.ui.EntityEditor = function(context) {
|
||||
.geometry(context.geometry(id))
|
||||
.preset(preset));
|
||||
|
||||
$body.select('.preset-icon-wrap .label')
|
||||
.text(preset.name());
|
||||
|
||||
$body.select('.inspector-preset')
|
||||
.call(iD.ui.preset(context)
|
||||
.preset(preset)
|
||||
|
||||
Reference in New Issue
Block a user