Add "deselect" tooltip to X buttons in selected features list

This commit is contained in:
Quincy Morgan
2020-01-20 10:22:49 -05:00
parent d40b4295e4
commit bb593c5ccc
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -3,6 +3,7 @@ import { event as d3_event, select as d3_select } from 'd3-selection';
import { modeSelect } from '../modes/select';
import { osmEntity } from '../osm';
import { svgIcon } from '../svg/icon';
import { t } from '../util/locale';
import { utilDisplayName, utilHighlightEntities } from '../util';
@@ -79,6 +80,7 @@ export function uiSelectionList(context) {
enter
.append('button')
.attr('class', 'close')
.attr('title', t('icons.deselect'))
.on('click', deselectEntity)
.call(svgIcon('#iD-icon-close'));