Fix positioning of default cursor (#1458)
This PR fixes the default custom cursor being slightly out-of-position compared to MacOS cursor. ### Change Type - [x] `patch` — Bug Fix ### Test Plan 1. On Mac, right-click on the canvas. 2. When the cursor swaps out for the OS cursor... it should stay in the same position.
This commit is contained in:
parent
020b0da704
commit
0e9058409d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ function getCursorCss(
|
|||
|
||||
const CURSORS: Record<TLCursorType, (r: number, f: boolean, color: string) => string> = {
|
||||
none: () => 'none',
|
||||
default: (r, f, c) => getCursorCss(DEFAULT_SVG, r, 0, f, c, 12, 10),
|
||||
default: (r, f, c) => getCursorCss(DEFAULT_SVG, r, 0, f, c, 12, 8),
|
||||
pointer: (r, f, c) => getCursorCss(POINTER_SVG, r, 0, f, c, 14, 10),
|
||||
cross: (r, f, c) => getCursorCss(CROSS_SVG, r, 0, f, c),
|
||||
move: (r, f, c) => getCursorCss(MOVE_SVG, r, 0, f, c),
|
||||
|
|
Loading…
Reference in a new issue