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

Ability to get a guide on click on the ruler #46

Open
nitin-1926 opened this issue Jul 5, 2021 · 2 comments
Open

Ability to get a guide on click on the ruler #46

nitin-1926 opened this issue Jul 5, 2021 · 2 comments

Comments

@nitin-1926
Copy link

Environments
Framework name: React
Framework version: 17.0.1
Component name: @scena/react-guides
Component version: 0.15.1
Testable Address(optional):

Description
Hey @daybrush , Can we have the ability to click on a particular pixel on a ruler and a guideline appears at that position along the direction of the other ruler? Like, currently if we want a guide, we have to drag the guide from the starting to the whole way down. Instead, we can give an optional option that suppose if you click on the horizontal ruler at 100px (or any other unit), a vertical guide appears at 100px which then can be draggable like any other normal guide?
If this is an existing feature, can you tell me how to enable it, if not can I work on it?

Thanks.

@daybrush daybrush added this to the 0.18.0 milestone Jan 3, 2022
@daybrush
Copy link
Owner

daybrush commented Mar 6, 2022

@nitin-1926

  • @scena/guides 0.18.1
  • vue-guides 0.18.1
  • @scena/react-guides 0.18.1
  • ngx-guides 0.18.1
  • svelte-guides 0.18.1

guides' new version is released.

clickRuler event is added.

@nitin-1926
Copy link
Author

Thanks @daybrush

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