From 1c047f5ac84414117a2de54cb661240b8ba93bd2 Mon Sep 17 00:00:00 2001 From: vershwal Date: Sat, 17 Mar 2018 20:22:26 +0530 Subject: [PATCH 1/3] Added pencil icon. --- modules/ui/background.js | 2 +- svg/iD-sprite.json | 2 ++ svg/iD-sprite.src.svg | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/ui/background.js b/modules/ui/background.js index 295c44530..44a95727d 100644 --- a/modules/ui/background.js +++ b/modules/ui/background.js @@ -151,7 +151,7 @@ export function uiBackground(context) { .placement((textDirection === 'rtl') ? 'right' : 'left') ) .on('click', editCustom) - .call(svgIcon('#icon-search')); + .call(svgIcon('#icon-edit')); enter.filter(function(d) { return d.best(); }) .append('div') diff --git a/svg/iD-sprite.json b/svg/iD-sprite.json index 58bc82e0a..5ef589f22 100644 --- a/svg/iD-sprite.json +++ b/svg/iD-sprite.json @@ -32,6 +32,7 @@ "icon-down": { "viewBox": "600 0 20 20" }, "icon-more": { "viewBox": "620 0 20 20" }, "icon-no": { "viewBox": "640 0 20 20" }, + "icon-edit": { "viewBox": "660 0 20 20" }, "icon-alert-shape": { "fill": "currentColor" }, "icon-point-shape": { "fill": "currentColor" }, @@ -70,6 +71,7 @@ "icon-down-shape": { "fill": "currentColor" }, "icon-more-shape": { "fill": "currentColor" }, "icon-no-shape": { "fill": "currentColor" }, + "icon-edit-shape": { "fill": "currentColor" }, "highway-motorway": { "viewBox": "0 20 60 60" }, "highway-trunk": { "viewBox": "60 20 60 60" }, diff --git a/svg/iD-sprite.src.svg b/svg/iD-sprite.src.svg index dc4bfe7af..407f9950f 100644 --- a/svg/iD-sprite.src.svg +++ b/svg/iD-sprite.src.svg @@ -1392,6 +1392,12 @@ + + + + + + From 75d54e6089c92089e5b4eaff151489b823e3ccb8 Mon Sep 17 00:00:00 2001 From: vershwal Date: Fri, 23 Mar 2018 23:35:06 +0530 Subject: [PATCH 2/3] Modified the pencil icon. --- svg/iD-sprite.src.svg | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/svg/iD-sprite.src.svg b/svg/iD-sprite.src.svg index 407f9950f..ece4d73fa 100644 --- a/svg/iD-sprite.src.svg +++ b/svg/iD-sprite.src.svg @@ -1393,10 +1393,7 @@ - - - - + From 2f9f29eda7de71b95c37284bc8bd3b553ba3a33b Mon Sep 17 00:00:00 2001 From: Princi Vershwal Date: Sat, 24 Mar 2018 00:01:02 +0530 Subject: [PATCH 3/3] Update iD-sprite.src.svg --- svg/iD-sprite.src.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svg/iD-sprite.src.svg b/svg/iD-sprite.src.svg index ece4d73fa..037885141 100644 --- a/svg/iD-sprite.src.svg +++ b/svg/iD-sprite.src.svg @@ -1393,7 +1393,7 @@ - +