daybrush / ruler

A Ruler component that can draw grids and scroll infinitely.
https://daybrush.com/ruler/
MIT License
334 stars 39 forks source link

Can I change the width of the actual ruler line? #32

Open ViktorTheFirst opened 2 years ago

ViktorTheFirst commented 2 years ago

Environments

Description

In ruler/packages/react-ruler/src/react-ruler/Ruler.tsx

There is context.lineWidth = 1; in line 134

Is there any way to change the value of lineWidth? Didnt find it on the API. Thanks ahead.

daybrush commented 2 years ago

@ViktorTheFirst

OK, I'll add it in the next update.(in 11.10)

daybrush commented 2 years ago

@ViktorTheFirst

ruler's new version is released. lineWidth prop is added.

Check it again.