mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 07:46:58 +02:00
Add ability to show the square threshold in the rule name
This commit is contained in:
@@ -564,7 +564,13 @@ export function uiIssues(context) {
|
||||
|
||||
label
|
||||
.append('span')
|
||||
.text(function(d) { return t('issues.' + d + '.title'); });
|
||||
.text(function(d) {
|
||||
var params = {};
|
||||
if (d === 'unsquare_way') {
|
||||
params.val = 6.5;
|
||||
}
|
||||
return t('issues.' + d + '.title', params);
|
||||
});
|
||||
|
||||
// Update
|
||||
items = items
|
||||
|
||||
Reference in New Issue
Block a user