Skip to content

Commit 4809a6d

Browse files
committed
created new icons
1 parent 84b2c83 commit 4809a6d

File tree

6 files changed

+224
-23
lines changed

6 files changed

+224
-23
lines changed

client-data/tools/eraser/eraser.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
var currShape = null;
3232
var curTool = "click";
33-
var icons = ["tools/eraser/icon-red.svg", "tools/eraser/icon.svg",];
33+
var icons = ["tools/eraser/icon-click.svg", "tools/eraser/icon-drag.svg",];
3434
var toolNames = ["Remove single shape", "Remove all contacted shapes"];
3535

3636
var msg = {
@@ -133,15 +133,15 @@
133133

134134
Tools.add({ //The new tool
135135
"name": toolNames[0],
136-
//"shortcut": "e",
136+
"shortcut": "e",
137137
"toggle": toggle,
138138
"listeners": {
139139
"press": startErasing,
140140
"move": erase,
141141
"release": stopErasing,
142142
},
143143
"draw": draw,
144-
"icon": "tools/eraser/icon-red.svg",
144+
"icon": icons[0],
145145
"mouseCursor": "crosshair",
146146
});
147147

Lines changed: 94 additions & 0 deletions
Loading

client-data/tools/eraser/icon-red.svg

Lines changed: 0 additions & 7 deletions
This file was deleted.

client-data/tools/eraser/icon.svg

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 126 additions & 5 deletions
Loading

client-data/tools/multi-eraser/multi-eraser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173

174174
Tools.add({ //The new tool
175175
"name": "Remove in Area",
176-
//"shortcut": "e",
176+
"shortcut": "m",
177177
"listeners": {
178178
"press": startErasing,
179179
"move": erase,

0 commit comments

Comments
 (0)