+
+
+
+
+
+ Delete
+
+
+
+
+
diff --git a/src/components/tools/rectangle/RectangleTool.vue b/src/components/tools/rectangle/RectangleTool.vue
index fe929b4bc..221462ff1 100644
--- a/src/components/tools/rectangle/RectangleTool.vue
+++ b/src/components/tools/rectangle/RectangleTool.vue
@@ -105,10 +105,7 @@ export default defineComponent({
watch(
placingToolID,
- (id, prevId) => {
- if (prevId != null) {
- activeToolStore.updateTool(prevId, { placing: false });
- }
+ (id) => {
if (id != null) {
activeToolStore.updateTool(id, { placing: true });
}
diff --git a/src/components/tools/ruler/RulerTool.vue b/src/components/tools/ruler/RulerTool.vue
index 48977c58e..eba9f26ff 100644
--- a/src/components/tools/ruler/RulerTool.vue
+++ b/src/components/tools/ruler/RulerTool.vue
@@ -1,262 +1,30 @@