Update to iD v2.19.1
This commit is contained in:
parent
d41737c6a0
commit
27fb39770f
3 changed files with 19 additions and 24 deletions
11
vendor/assets/iD/iD.css.erb
vendored
11
vendor/assets/iD/iD.css.erb
vendored
|
@ -8288,19 +8288,14 @@
|
|||
width: 21px;
|
||||
height: 20px;
|
||||
border-radius: 11px;
|
||||
text-align: center;
|
||||
}
|
||||
.ideditor[dir='ltr'] .badge {
|
||||
margin-left: 6px;
|
||||
}
|
||||
.ideditor[dir='rtl'] .badge {
|
||||
margin-left: 0;
|
||||
margin-right: 6px;
|
||||
}
|
||||
.ideditor .badge a {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.ideditor[dir='rtl'] .badge a {
|
||||
margin-right: 0;
|
||||
margin-left: 5px;
|
||||
}
|
||||
.ideditor .badge .icon {
|
||||
vertical-align: baseline;
|
||||
width: 11px;
|
||||
|
|
28
vendor/assets/iD/iD.js
vendored
28
vendor/assets/iD/iD.js
vendored
|
@ -84960,7 +84960,7 @@
|
|||
wrap.selectAll('.preset-input-access').on('change', change).on('blur', change);
|
||||
}
|
||||
|
||||
function change(d) {
|
||||
function change(d3_event, d) {
|
||||
var tag = {};
|
||||
var value = context.cleanTagValue(utilGetSetValue(select(this))); // don't override multiple values with blank string
|
||||
|
||||
|
@ -85428,7 +85428,7 @@
|
|||
wrap.selectAll('.preset-input-cycleway').on('change', change).on('blur', change);
|
||||
}
|
||||
|
||||
function change(key) {
|
||||
function change(d3_event, key) {
|
||||
var newValue = context.cleanTagValue(utilGetSetValue(select(this))); // don't override multiple values with blank string
|
||||
|
||||
if (!newValue && (Array.isArray(_tags.cycleway) || Array.isArray(_tags[key]))) return;
|
||||
|
@ -89837,16 +89837,8 @@
|
|||
}
|
||||
};
|
||||
|
||||
sidebar.toggle = function (d3_event, moveMap) {
|
||||
var e = d3_event;
|
||||
|
||||
if (e && e.sourceEvent) {
|
||||
e.sourceEvent.preventDefault();
|
||||
} else if (e) {
|
||||
e.preventDefault();
|
||||
} // Don't allow sidebar to toggle when the user is in the walkthrough.
|
||||
|
||||
|
||||
sidebar.toggle = function (moveMap) {
|
||||
// Don't allow sidebar to toggle when the user is in the walkthrough.
|
||||
if (context.inIntro()) return;
|
||||
var isCollapsed = selection.classed('collapsed');
|
||||
var isCollapsing = !isCollapsed;
|
||||
|
@ -89885,7 +89877,15 @@
|
|||
}; // toggle the sidebar collapse when double-clicking the resizer
|
||||
|
||||
|
||||
resizer.on('dblclick', sidebar.toggle); // ensure hover sidebar is closed when zooming out beyond editable zoom
|
||||
resizer.on('dblclick', function (d3_event) {
|
||||
d3_event.preventDefault();
|
||||
|
||||
if (d3_event.sourceEvent) {
|
||||
d3_event.sourceEvent.preventDefault();
|
||||
}
|
||||
|
||||
sidebar.toggle();
|
||||
}); // ensure hover sidebar is closed when zooming out beyond editable zoom
|
||||
|
||||
context.map().on('crossEditableZoom.sidebar', function (within) {
|
||||
if (!within && !selection.select('.inspector-hover').empty()) {
|
||||
|
@ -98094,7 +98094,7 @@
|
|||
|
||||
var _deferred = new Set();
|
||||
|
||||
context.version = '2.19.0';
|
||||
context.version = '2.19.1';
|
||||
context.privacyVersion = '20200407'; // iD will alter the hash so cache the parameters intended to setup the session
|
||||
|
||||
context.initialHashParams = window.location.hash ? utilStringQs(window.location.hash) : {};
|
||||
|
|
2
vendor/assets/iD/iD/locales/tr.json
vendored
2
vendor/assets/iD/iD/locales/tr.json
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue