Skip to content

Commit

Permalink
mend wavesim cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcl committed Aug 22, 2024
1 parent 4ead857 commit 7bcdbb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Renderer/UI/WaveSim/WaveSimStyle.fs
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ let cursorCycleHighlightSVG m dispatch =
rect [
SVGAttr.Width (singleWaveWidth m)
SVGAttr.Height "100%"
X (float m.CurrClkCycle * (singleWaveWidth m))
X (float (m.CurrClkCycle - m.StartCycle) * (singleWaveWidth m))
] []
]
(backgroundSVG m count)
Expand Down

0 comments on commit 7bcdbb6

Please sign in to comment.