From afd6b83edf53726a264a573a5c93ef2931769f78 Mon Sep 17 00:00:00 2001 From: Youssef Ahmed Hassan Elzedy <39376520+youssefelzedy@users.noreply.github.com> Date: Wed, 5 Feb 2025 15:19:18 +0200 Subject: [PATCH] change icon to "X" for the exit button of feature type selection panel (#10733) --- modules/ui/preset_list.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/ui/preset_list.js b/modules/ui/preset_list.js index 39de83996..2cb003f4a 100644 --- a/modules/ui/preset_list.js +++ b/modules/ui/preset_list.js @@ -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