mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-20 16:00:38 +02:00
fix: set cursor to auto when not hovering a point on linear element (#9642)
* fix: set cursor to auto when not hovering a point on linear element #9628 * Simplify hover test for cursor * Add back comment * Fix test for hit testing --------- Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
@@ -28,7 +28,7 @@ describe("check rotated elements can be hit:", () => {
|
||||
//const p = [120, -211];
|
||||
//const p = [0, 13];
|
||||
const hit = hitElementItself({
|
||||
point: pointFrom<GlobalPoint>(87, -68),
|
||||
point: pointFrom<GlobalPoint>(88, -68),
|
||||
element: window.h.elements[0],
|
||||
threshold: 10,
|
||||
elementsMap: window.h.scene.getNonDeletedElementsMap(),
|
||||
|
Reference in New Issue
Block a user