mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 09:04:02 +02:00
Added button to close Map controls.
This commit is contained in:
@@ -457,6 +457,11 @@ export function uiMapData(context) {
|
||||
.call(paneTooltip);
|
||||
|
||||
|
||||
pane
|
||||
.append('button')
|
||||
.on('click', function() { uiMapData.hidePane(); })
|
||||
.call(svgIcon('#icon-close'));
|
||||
|
||||
pane
|
||||
.append('h2')
|
||||
.text(t('map_data.title'));
|
||||
|
||||
Reference in New Issue
Block a user