-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update cursor location in response to
SELECT
events (#194)
* refactor!: Add a .workspace property to LineCursor Add a .workspace property to LineCursor instances, and a corresponding workspace parameter to the class constructor, so that LineCursor instances know explicitly which WorkspaceSvg they are associated with. * fix: Update cursor location in response to SELECT events This solves the issue where, when the cursor was not on a block, clicking on a block to select it would not immediately cause the displayed cursor to disappear, but the cursor location would only be updated when a cursor key was pressed. * refactor: Make it possible to uninstall the LineCursor Turn installCursor into an install method on LineCursor, and add a coresponding uninstall method. * chore: Update comments for PR #194.
- Loading branch information
Showing
2 changed files
with
70 additions
and
37 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