mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 22:46:38 +02:00
@@ -67,10 +67,7 @@ iD.ui.EntityEditor = function(context) {
|
||||
.attr('class', 'inspector-border raw-member-editor inspector-inner col12');
|
||||
|
||||
$enter.append('div')
|
||||
.attr('class', 'inspector-border raw-membership-editor inspector-inner col12');
|
||||
|
||||
$enter.append('div')
|
||||
.attr('class', 'inspector-external-links inspector-inner col12');
|
||||
.attr('class', 'raw-membership-editor inspector-inner col12');
|
||||
|
||||
selection.selectAll('.preset-reset')
|
||||
.on('click', function() {
|
||||
@@ -111,10 +108,6 @@ iD.ui.EntityEditor = function(context) {
|
||||
.call(iD.ui.RawMembershipEditor(context)
|
||||
.entityID(id));
|
||||
|
||||
$body.select('.inspector-external-links')
|
||||
.call(iD.ui.ViewOnOSM(context)
|
||||
.entityID(id));
|
||||
|
||||
function historyChanged() {
|
||||
var entity = context.hasEntity(id);
|
||||
if (!entity) return;
|
||||
|
||||
@@ -33,6 +33,16 @@ iD.ui.Inspector = function(context) {
|
||||
var showEditor = state === 'hover' || context.entity(entityID).isUsed(context.graph());
|
||||
$wrap.style('right', showEditor ? '-0%' : '-100%');
|
||||
|
||||
var $footer = selection.selectAll('.footer')
|
||||
.data([0]);
|
||||
|
||||
$footer.enter().append('div')
|
||||
.attr('class', 'footer col12');
|
||||
|
||||
selection.select('.footer')
|
||||
.call(iD.ui.ViewOnOSM(context)
|
||||
.entityID(entityID));
|
||||
|
||||
function showList(preset) {
|
||||
$wrap.transition()
|
||||
.style('right', '-100%');
|
||||
|
||||
Reference in New Issue
Block a user