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

feat(IText): expose getCursorRenderingData() function. #10204

Merged
merged 3 commits into from
Oct 12, 2024

Conversation

asturur
Copy link
Member

@asturur asturur commented Oct 12, 2024

Description

Exposed a function that gives the developer info on the current cursor placement and color and opacity.
Useful when wanting to display something near the cursor and needing its position.
Original code from Shachar.

In Action

Copy link

codesandbox bot commented Oct 12, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Contributor

Build Stats

file / KB (diff) bundled minified
fabric 924.925 (+0.687) 306.969 (+0.298)

@asturur asturur merged commit b00491e into master Oct 12, 2024
@asturur asturur deleted the export-rendercursor-data branch October 12, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant