Added ResizableTool and SelectionTool

This commit is contained in:
unsettledgames
2021-11-01 13:02:18 +01:00
parent 2d8974f9d6
commit a56d7092fc
14 changed files with 138 additions and 582 deletions

View File

@@ -1,4 +1,4 @@
class RectangleTool extends Tool {
class RectangleTool extends ResizableTool {
// Saving the empty rect svg
emptyRectangleSVG = document.getElementById("rectangle-empty-button-svg");
// and the full rect svg so that I can change them when the user changes rect modes