Skip to content

Commit

Permalink
rebalance the stroke-width for each component
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Jan 11, 2025
1 parent e6f61f5 commit 8bdd1a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shimmers/sketches/circuit_diagrams.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,13 @@
;; required for on-click to fire on pointer events within group/polygon clip path
:style {:pointer-events "fill"}}
(when (:shapes @ui-state)
(csvg/group {}
(csvg/group {:stroke-width 0.33}
(mapcat draw-shape components)))
(when (:circuits @ui-state)
(csvg/group {:stroke-width 1.25}
(csvg/group {:stroke-width 1.0}
(mapcat draw-component components)))
(when (:annotation @ui-state)
(csvg/group {:stroke "red" :fill "none" :stroke-width 1.0}
(csvg/group {:stroke-width 0.66 :stroke "red" :fill "none"}
(mapcat :annotation components))))))))

(defn ui-controls []
Expand Down

0 comments on commit 8bdd1a6

Please sign in to comment.