From 8c22bf88028d5e728b0654897fede1985f498988 Mon Sep 17 00:00:00 2001 From: bhiwagade-rahul Date: Sun, 2 Jun 2024 07:48:38 +0530 Subject: [PATCH 1/3] Update ToolBar.svelte Remove Solve and Step from Sketch Actions --- applications/web/src/components/ToolBar.svelte | 4 ---- 1 file changed, 4 deletions(-) diff --git a/applications/web/src/components/ToolBar.svelte b/applications/web/src/components/ToolBar.svelte index 3e121294..2b21c390 100644 --- a/applications/web/src/components/ToolBar.svelte +++ b/applications/web/src/components/ToolBar.svelte @@ -7,7 +7,6 @@ let solving = false // todo ask Matt why is this a no-op? - const solveSketch = () => {} const createNewExtrusion = () => { newExtrusion() // set that as the current feature being edited @@ -18,7 +17,6 @@ newSketchOnPlane() $featureIndex = $workbench.history.length - 1 } - const stepSketch = () => {} const debugging = false const actions = [ @@ -33,8 +31,6 @@ ] const sketchActions = [ - {alt: "solve", src: `${base}/actions/solve_min.svg`, text: "Solve", handler: solveSketch}, - {alt: "step", src: `${base}/actions/step_min.svg`, text: "Step", handler: stepSketch}, {alt: "line", src: `${base}/actions/line.svg`, handler: () => ($sketchTool = "line")}, {alt: "circle", src: `${base}/actions/circle.svg`, handler: () => ($sketchTool = "circle")}, {alt: "rectangle", src: `${base}/actions/rectangle.svg`, handler: () => ($sketchTool = "rectangle")}, From c34156eff459ce137c8d32ab49d42c16492195e0 Mon Sep 17 00:00:00 2001 From: bhiwagade-rahul Date: Sun, 2 Jun 2024 09:02:34 +0530 Subject: [PATCH 2/3] Update ToolBar.svelte updated as per comment @av8ta --- applications/web/src/components/ToolBar.svelte | 1 - 1 file changed, 1 deletion(-) diff --git a/applications/web/src/components/ToolBar.svelte b/applications/web/src/components/ToolBar.svelte index 2b21c390..6d8c714f 100644 --- a/applications/web/src/components/ToolBar.svelte +++ b/applications/web/src/components/ToolBar.svelte @@ -5,7 +5,6 @@ const log = (function () { const context = "[ToolBar.svelte]"; const color="gray"; return Function.prototype.bind.call(console.log, console, `%c${context}`, `font-weight:bold;color:${color};`)})() // prettier-ignore - let solving = false // todo ask Matt why is this a no-op? const createNewExtrusion = () => { newExtrusion() From 8995d235fb261e3a94e9c494ccff0cefa6550536 Mon Sep 17 00:00:00 2001 From: bhiwagade-rahul Date: Sun, 2 Jun 2024 09:06:42 +0530 Subject: [PATCH 3/3] Update ToolBar.svelte Remove Solve conditions --- applications/web/src/components/ToolBar.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/web/src/components/ToolBar.svelte b/applications/web/src/components/ToolBar.svelte index 6d8c714f..07424e73 100644 --- a/applications/web/src/components/ToolBar.svelte +++ b/applications/web/src/components/ToolBar.svelte @@ -5,6 +5,7 @@ const log = (function () { const context = "[ToolBar.svelte]"; const color="gray"; return Function.prototype.bind.call(console.log, console, `%c${context}`, `font-weight:bold;color:${color};`)})() // prettier-ignore + let solving = false // todo ask Matt why is this a no-op? const createNewExtrusion = () => { newExtrusion() @@ -45,7 +46,7 @@ {/each} {:else} {#each actions as action} - {/each}