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

fix: limit the maximun cursor offsetHeight to equal CURSOR_AGENT_HEIGHT #348

Merged
merged 2 commits into from
Dec 3, 2023

Conversation

xukuanzhuo
Copy link
Contributor

  • 问题
    图片类型元素光标高度offsetHeight也为图片类型元素高度1/4,图片高度比较高时光标高度太高
snapcut
  • 解决方案
    光标offsetHeight最大值不超过 CURSOR_AGENT_HEIGHT = 12
snapcut-fixed

@Hufe921 Hufe921 merged commit 2666bc4 into Hufe921:main Dec 3, 2023
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.

None yet

2 participants