mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
editor: increased hit Area
This commit is contained in:
committed by
Ammar Ahmed
parent
fc5b62ba61
commit
3496e6bfa9
@@ -154,7 +154,7 @@ export const OutlineListItem = Node.create<ListItemOptions>({
|
||||
const clientY =
|
||||
e instanceof MouseEvent ? e.clientY : e.touches[0].clientY;
|
||||
|
||||
const hitArea = { width: 26, height: 24 };
|
||||
const hitArea = { width: 40, height: 40 };
|
||||
|
||||
const selection = editor.state.selection;
|
||||
const parent = findParentNode((node) => !!node.attrs.textDirection)(
|
||||
|
||||
Reference in New Issue
Block a user