Skip to content

Commit ca55c10

Browse files
worked on adding typescript support to History file
co-authored-by: alex landeros <[email protected]>
1 parent 6957918 commit ca55c10

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/app/components/History.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@ function History(props: any) {
140140
});
141141

142142
// here we the node circle is created and given a radius size, we are also giving it a mouseover and onClick functionality
143-
// mouseover will highlight the node while onClick will dispatch changeSlider and changeView actions. This will act as a timeJump request.
144-
//
143+
// mouseover will highlight the node
144+
// the onCLick of a selected node will dispatch changeSlider and changeView actions. This will act as a timeJump request.
145+
// further optimization would improve the onclick feature, onclick seems to only register on the lower half of the node
145146
node
146147
.append('circle')
147148
.attr('r', 13)

0 commit comments

Comments
 (0)