Skip to content

Commit

Permalink
created new icons
Browse files Browse the repository at this point in the history
  • Loading branch information
finnboeger committed Apr 28, 2020
1 parent 84b2c83 commit 8f5d4f4
Show file tree
Hide file tree
Showing 7 changed files with 318 additions and 23 deletions.
6 changes: 3 additions & 3 deletions client-data/tools/eraser/eraser.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

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

var msg = {
Expand Down Expand Up @@ -133,15 +133,15 @@

Tools.add({ //The new tool
"name": toolNames[0],
//"shortcut": "e",
"shortcut": "e",
"toggle": toggle,
"listeners": {
"press": startErasing,
"move": erase,
"release": stopErasing,
},
"draw": draw,
"icon": "tools/eraser/icon-red.svg",
"icon": icons[0],
"mouseCursor": "crosshair",
});

Expand Down
94 changes: 94 additions & 0 deletions client-data/tools/eraser/icon-click.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 94 additions & 0 deletions client-data/tools/eraser/icon-drag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions client-data/tools/eraser/icon-red.svg

This file was deleted.

7 changes: 0 additions & 7 deletions client-data/tools/eraser/icon.svg

This file was deleted.

131 changes: 126 additions & 5 deletions client-data/tools/multi-eraser/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8f5d4f4

Please sign in to comment.