Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MMB-174] Remove named cursors #91

Merged
merged 2 commits into from
Jul 21, 2023
Merged

Conversation

dpiatek
Copy link
Contributor

@dpiatek dpiatek commented Jul 21, 2023

We've decided this feature. In it's current implementation is causing much more confusion than it is solving problems.

This removes completely the idea of "named cursors" i.e. name-spaced event emitters.

Copy link
Collaborator

@m-hulbert m-hulbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of minor suggested changes.

docs/class-definitions.md Outdated Show resolved Hide resolved
docs/class-definitions.md Outdated Show resolved Hide resolved
docs/class-definitions.md Outdated Show resolved Hide resolved
docs/usage.md Outdated Show resolved Hide resolved
docs/usage.md Outdated
```

`set` takes an object with 2 properties. `position` is an object with 2 required properties, `x` and `y`. These represent the position of the cursor on a 2D plane. A second property, `data` can passed. This is an object of any shape and is meant for data associated with the cursor movement (like drag or hover calculation results):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest the same wording update as in class-definitions.

docs/usage.md Outdated Show resolved Hide resolved
Copy link
Contributor

@artismarti artismarti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm (& second Mark's suggestions)

@dpiatek dpiatek force-pushed the mmb-174-remove-named-cursors branch from 77ac296 to 6cdc9ce Compare July 21, 2023 10:40
@dpiatek dpiatek force-pushed the mmb-174-remove-named-cursors branch from 6cdc9ce to f541cac Compare July 21, 2023 10:44
@dpiatek dpiatek merged commit 16dcde6 into main Jul 21, 2023
5 checks passed
@dpiatek dpiatek deleted the mmb-174-remove-named-cursors branch July 21, 2023 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants