-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cursor): Remove unused cursor initialization in mouseMove (#1576)
* MouseEventHandlers: Remove unused cursor initialization in mouseMove - Removed the import of `initElementCursor` from `mouseMove.ts` as it is no longer used. - Deleted the call to `initElementCursor` within the `mouseMove` function when not interacting with a tool. - This change cleans up the code by removing unnecessary cursor initialization logic. * Cursor Enhancement: Add name property to SVGCursorDescriptor and update cursor creation - Introduce a `name` property in the `SVGCursorDescriptor` type to store the name of each cursor. - Update the `extend` function to ensure the `name` property is included or defaults to the base name. - Modify `createSVGIconUrl` to append the cursor name to the URL for better identification. - Adjust `SVGCursorDescriptor` type definitions to make some properties optional, * api
- Loading branch information
Showing
6 changed files
with
125 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.