mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
change icon to "X" for the exit button of feature type selection panel (#10733)
This commit is contained in:
committed by
GitHub
parent
0dfbdee726
commit
afd6b83edf
@@ -37,14 +37,12 @@ export function uiPresetList(context) {
|
||||
.append('h2')
|
||||
.call(t.append('inspector.choose'));
|
||||
|
||||
var direction = (localizer.textDirection() === 'rtl') ? 'backward' : 'forward';
|
||||
|
||||
messagewrap
|
||||
.append('button')
|
||||
.attr('class', 'preset-choose')
|
||||
.attr('title', _entityIDs.length === 1 ? t('inspector.edit') : t('inspector.edit_features'))
|
||||
.on('click', function() { dispatch.call('cancel', this); })
|
||||
.call(svgIcon(`#iD-icon-${direction}`));
|
||||
.call(svgIcon('#iD-icon-close'));
|
||||
|
||||
function initialKeydown(d3_event) {
|
||||
// hack to let delete shortcut work when search is autofocused
|
||||
|
||||
Reference in New Issue
Block a user