Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ViktorTheFirst opened this issue Oct 31, 2022 · 2 comments
Open

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

ViktorTheFirst opened this issue Oct 31, 2022 · 2 comments

Comments

@ViktorTheFirst
Copy link

Environments

  • Framework name: React

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
Copy link
Owner

daybrush commented Nov 1, 2022

@ViktorTheFirst

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

daybrush added a commit that referenced this issue Nov 6, 2022
@daybrush
Copy link
Owner

daybrush commented Nov 6, 2022

@ViktorTheFirst

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

Check it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants