feat: limit the max cursor offsetHeight #348

Co-authored-by: xukuanzhuo <xukuanzhuo@jd.com>
Co-authored-by: Hufe921 <huangyunfeihufe@hotmail.com>
This commit is contained in:
KZ Xu
2023-12-03 15:17:04 +08:00
committed by GitHub
co-authored by xukuanzhuo Hufe921
parent 6ca1919498
commit 2666bc43c3
3 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { ICursorOption } from '../../interface/Cursor'
export const CURSOR_AGENT_HEIGHT = 12
export const CURSOR_AGENT_OFFSET_HEIGHT = 12
export const defaultCursorOption: Readonly<Required<ICursorOption>> = {
width: 1,