Skip to content

Commit

Permalink
Arrows (#45)
Browse files Browse the repository at this point in the history
* feat: Convert feature rectangles to chevron-shaped arrows based on strand direction

* feat: Update feature path drawing to correctly render reverse strand direction

* feat: Modify feature path drawing to use blunt ends for row boundaries

* feat: Add semi-blunt path ends for non-actual feature boundaries

* refactor: Extract arrow point offsets into configurable constants

* fix: Symmetrize blunt end offsets using BLUNT_POINT_OFFSET

* update

* feat: Add Roboto Condensed font for DNA text at higher zoom levels

* add

* style: Update font imports and styling for SingleRow component

* feat: Switch font from Inter to Open Sans

* feat: Add Open Sans Condensed font for DNA text at higher zoom levels

* style: Configure Tailwind to use Open Sans as default font

* refactor: Adjust font size and family based on updated zoom level conditions

* style: Adjust font weight for Open Sans Condensed at lower zoom levels

* style: Adjust font weight based on zoom level in SingleRow component

* update

* up

* update
  • Loading branch information
theosanderson authored Dec 15, 2024
1 parent f3a7110 commit 237acf3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gensplore-component/src/components/SingleRow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ const SingleRow = ({
x={x}
y={10}
textAnchor="middle"
fontSize={zoomLevel < -0.5 ? "10" : "12"}
fontSize={zoomLevel < -1 ? "11" : "12"}
fontFamily={zoomLevel < -0.25 ? "Open Sans Condensed" : "sans-serif"}
fontWeight={zoomLevel < -0.25 ? "600" : "400"}
fillOpacity={0.9}
onMouseEnter={() =>
setHoveredInfo({
Expand Down

0 comments on commit 237acf3

Please sign in to comment.